UnderZ

Javascript Library.

Check value if it’s a numeric value.

Determine whether a value is a number.


Check value

_z.isNumber( anyObject );

Returns: true OR false boolean


Examples

<script>
var x = 12;
var y = 'a';
var ex1 = [1];
var ex2 = "123";

_z.isNumber(x); // true
_z.isNumber(y); // false
_z.isNumber(ex1); // false 
_z.isNumber(ex2); // false
</script>