Const
Type guard that checks if a value is a negative integer.
Returns true for a negative integer — a value with no fractional component, including values outside the safe integer range (unlike SafeInt).
true
SafeInt
true if the value is a negative integer, false otherwise
false
Type guard that checks if a value is a negative integer.
Returns
truefor a negative integer — a value with no fractional component, including values outside the safe integer range (unlikeSafeInt).