method
test.MatchersBuiltin.toBeLessThan
expected: number | bigint
): void;
Asserts that a value is a number and is less than the expected value.
@param expected
the expected number
expect(-1).toBeLessThan(0);
expect(3).toBeLessThan(3.14);
expect(9).toBeLessThan(9); // fail