Validation API

isNan()

Validates that the passed arguments cannot be converted to numbers.

  • Accepts any arguments.
  • Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
isNan('book');
// true

isNan('$1');
// true

isNan(1.5, '-1.5');
// false

!isNan('book');
// false

!isNan(1, 'book', []);
// true