MtoBeOdd
Bun

method

test.Matchers.toBeOdd

toBeOdd(): void;

Asserts that a number is odd.

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