Ox.isEmpty: add test for empty nodelists
This commit is contained in:
parent
c083516fad
commit
3ffe22ec0c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue