UnderZ

Javascript Library.

Check multiple values if it’s a numeric value.

Determine whether a value of an array is number.


Check value/s

_z.isNumbers( [anyObject] );

Returns: true OR false boolean


Examples

<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>