Description Usage Arguments Details Value See Also Examples
Note: has.key() will be replaced by has_key() in the future.
'
1 2 3 4 5 6 |
hash |
hash object. |
key |
vector whose entries will be coerced to valid keys. |
... |
arguments passed to sapply. |
has_key indicates whether the key exists on the hash.
has_key is a wrapper around base::exists() vectorized over key using
base::sapply(). Additional arguments, ... are passed to base::sapply().
The inherits method is always FALSE
has_key() is replacing has.key and switching the order of arguments. This
makes has_key() more pipe-able and readable. has.key() will be deprecated
in a future release.
logical vector with 'length(key)“ indicating whether the key is defined in the hash.
base::exists()
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.