From f793245e2e53a634b52cd6fd1096fd8477661237 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 19 May 2012 13:14:38 +0400 Subject: [PATCH] Ox.isNumber: update tests --- source/Ox/js/Type.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Ox/js/Type.js b/source/Ox/js/Type.js index bd895ab7..18706af6 100644 --- a/source/Ox/js/Type.js +++ b/source/Ox/js/Type.js @@ -217,11 +217,11 @@ Ox.isNumber 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';