diff --git a/source/Ox/js/Type.js b/source/Ox/js/Type.js index 0c09ad2e..03aded5e 100644 --- a/source/Ox/js/Type.js +++ b/source/Ox/js/Type.js @@ -252,6 +252,10 @@ Ox.isNaN = function(value) { return value !== value; }; +Ox.isNodeList = function(value) { + return Ox.typeOf(value) == 'nodelist'; +}; + /*@ Ox.isNodeList Tests if a value is a nodelist (value) -> True is the value is a nodelist