isInteger
Checks if a value is an integer.
Usage
isInteger(value: unknown)
Checks if a value is an integer.
Parameters
valueunknownrequired
the value to test.
Returns
whether value is an integer; a true result narrows it to number.