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

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