Skip to content

self-assert / Requirements / isNegativeInteger

Function: isNegativeInteger() ​

isNegativeInteger(value): boolean

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

Parameters ​

ParameterType
valuenumber

Returns ​

boolean