Skip to content

self-assert / Requirements / isInteger

Function: isInteger()

isInteger(number): boolean

Returns a predicate that is true if the value is an integer

Parameters

ParameterTypeDescription
numberunknownA numeric value.

Returns

boolean