Ox.isEmpty: add test for empty nodelists

This commit is contained in:
rolux 2014-08-19 13:51:50 +02:00
parent c083516fad
commit 3ffe22ec0c

View file

@ -82,6 +82,8 @@ Ox.isEmpty <f> Tests if a value is an empty array, object or string
> Ox.isEmpty({})
true
> Ox.isEmpty('')
true
> Ox.isEmpty(document.getElementsByTagName(''))
true
> Ox.isEmpty(function() {})
false