- Source:
Members
(static) isInteger
Checks if value is an integer
- Source:
Examples
isInteger('abc'); // false
isInteger('123.2'); // false
isInteger(123.3); // false
isInteger(123); // true
isInteger('123'); // true
(static) isNumeric
Checks if value is numeric
- Source:
Examples
isNumeric('abc'); // false
isNumeric('123'); // true
isNumeric(123); // true