Description Usage Arguments Value See Also Examples
View source: R/whisker_get_all.R
Introspect template and get values from their first appearance on the call stack.
1 | whisker_get_all(template, ...)
|
template |
character; a whisker template |
... |
additional arguments passed to
|
list containing the names and values from the template. If a value is not
found, NA
is returned.
1 2 3 4 5 6 7 8 | a=1; z=26
tmpl = "A is rank {{a}}; z is rank {{z}}; {{w}}"
whisker_get_all( tmpl )
# In function:
f <- function( template ) whisker_get_all( template )
f(tmpl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.