Ox.isNumber: update tests
This commit is contained in:
parent
8479037ab6
commit
f793245e2e
1 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue