MtoBeOdd
Bun

method

test.MatchersBuiltin.toBeOdd

toBeOdd(): void;

Asserts that a number is odd.

expect(1).toBeOdd();
expect(2).not.toBeOdd();