is.empty tests to see if any key value pairs are assigned on
a hash object.
Details
Returns TRUE if no key-value pairs are defined for the hash,
FALSE otherwise.
Author
Christopher Brown.
Examples
h <- hash( a=1, b=2, c=3 )
is.empty(h) # FALSE
#> [1] FALSE
clear(h)
is.empty(h) # TRUE
#> [1] TRUE
h <- hash()
is.empty(h) # TRUE
#> [1] TRUE