Lodash _.isNaN() Method
_.isNaN( value )
Parameters: This method accepts a single parameter as mentioned above and described below:
- value: This parameter holds the value that need to be checked for NaN.
Return Value: This method returns a Boolean value (Returns true if the value is NaN, else false).
Example 2: For checking with an empty source this method returns true.
Example 3: This method also works for arrays.