_.isNaN(value)
Checks if value is NaN.
Note: This method is based on Number.isNaN
and is not the same as global isNaN which returns true for undefined and other non-number values.
Arguments
value (*)
: The value to check.
Returns
(boolean)
: Returns true
if value
is NaN
, else false
.