Ox.isNumber: update tests

This commit is contained in:
rolux 2012-05-19 13:14:38 +04:00
parent 8479037ab6
commit f793245e2e

View file

@ -217,11 +217,11 @@ Ox.isNumber <f> Tests if a value is a number
> Ox.isNumber(0)
true
> Ox.isNumber(Infinity)
false
true
> Ox.isNumber(-Infinity)
false
true
> Ox.isNumber(NaN)
false
true
@*/
Ox.isNumber = function(val) {
return Ox.typeOf(val) == 'number';