Skip to Content

isNumber()

Returns true if the value is a number (including NaN and Infinity).

Kind: global function

ParamTypeDescription
value*The value to check.

Example

ARM.isNumber(42) // true ARM.isNumber('42') // false
Last updated on