is.empty | R Documentation |
is.empty
tests to see if any key value pairs are assigned on
a hash
object.
is.empty(x)
x |
hash object. |
Returns TRUE
if no key-value pairs are defined for the hash,
FALSE
otherwise.
logical.
Christopher Brown.
exists
.
h <- hash( a=1, b=2, c=3 )
is.empty(h) # FALSE
clear(h)
is.empty(h) # TRUE
h <- hash()
is.empty(h) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.