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