Javascript Library.
Commands 0 |
---|
Determine whether a value of an array is number.
_z.isNumbers( [anyObject] );
Returns: true OR false boolean
<script>
var x = [1, 2, 3];
var y = ['a', 'b'];
var ex1 = [1, 'a', 2];
var ex2 = [1, [2], 3];
_z.isNumbers(x); // true
_z.isNumbers(y); // false
_z.isNumbers(ex1); // false
_z.isNumbers(ex2); // false
</script>