Javascript Library.
Commands 0 |
---|
Determine whether a value is a number.
_z.isNumber( anyObject );
Returns: true OR false boolean
<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>