Const
Type guard that checks if a value is a finite number.
Returns true if the value is a finite number (not NaN, Infinity, or -Infinity). This is stricter than the standard number type, which includes these special values.
true
true if the value is finite, false otherwise
false
Type guard that checks if a value is a finite number.
Returns
true
if the value is a finite number (not NaN, Infinity, or -Infinity). This is stricter than the standard number type, which includes these special values.