Asserts that a value is a number
, and is an integer.
Symbol
Matchers.toBeInteger
expect(1).toBeInteger();
expect(3.14).not.toBeInteger();
expect(NaN).not.toBeInteger();
Symbol
Asserts that a value is a number
, and is an integer.
expect(1).toBeInteger();
expect(3.14).not.toBeInteger();
expect(NaN).not.toBeInteger();