View source: R/retrieve_and_has.R
has | R Documentation |
has
in JavaScriptThis is a handy function for checking if item exist in a nested structure
has(sourceList, path)
sourceList |
The |
path |
A string that can be separated by [,] or ., the string |
Returns a boolean.
Other lodash similar functions:
retrieve()
has(list(a = list(b = 1)), "a.b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.