.matchesLangTemplate | R Documentation |
If template == str2lang(".")
, it will match anything.
If template == str2lang(".name")
, it will match any name.
If template == str2lang(".call()")
, it will match any call.
.matchesLangTemplate(x, template)
x |
The object to check |
template |
The template object it should match |
TRUE if it matches, FALSE, otherwise
.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/dt(.name)"))
.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/foo(.name)"))
.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/."))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.