toolkit.deref | R Documentation |
deref(o, [a,b,c], d)
is a safe way of doing
o[a][b][c]
. If that path does not exist, d is returned.
If d is not supplied, null is returned. Any undefined values in
path are ignored.
object |
|
path |
|
defaultValue |
|
Object dereferenced, defaultValue
, or null.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.