add Ox.isNodeList

This commit is contained in:
rlx 2014-09-20 12:27:04 +02:00
parent c106fa845e
commit aaa24bf309

View file

@ -252,6 +252,10 @@ Ox.isNaN = function(value) {
return value !== value; return value !== value;
}; };
Ox.isNodeList = function(value) {
return Ox.typeOf(value) == 'nodelist';
};
/*@ /*@
Ox.isNodeList <f> Tests if a value is a nodelist Ox.isNodeList <f> Tests if a value is a nodelist
(value) -> <b> True is the value is a nodelist (value) -> <b> True is the value is a nodelist