Description Usage Arguments Value Examples
Whether or not any substring of a string is any of a set of strings.
1 | any_is_substring_of(string, set_of_strings)
|
string |
character. |
set_of_strings |
character. |
logical
1 2 | stopifnot(director:::any_is_substring_of('test', c('blah', 'te', 'woo'))) # TRUE
stopifnot(!director:::any_is_substring_of('test', c('blah', 'woo'))) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.