Const
Type guard that checks if a value is a non-negative finite number.
Returns true only for a finite value — never NaN, Infinity, or -Infinity.
true
NaN
Infinity
-Infinity
true if the value is a non-negative finite number, false otherwise
false
Type guard that checks if a value is a non-negative finite number.
Returns
trueonly for a finite value — neverNaN,Infinity, or-Infinity.