isNumber
1.6

isNumber(obj) -> Boolean

Returns true if obj is of type number, false otherwise.

Examples


Object.isNumber(0);
//-> true

Object.isNumber(1.2);
//-> true

Object.isNumber("foo");
//-> false