Description Usage Arguments Value Examples
as.regex gives objects the class "regex". is.regex
tests for objects of class "regex".
1 2 3 |
x |
An object to test or convert. |
as.regex returns the inputs object, with class
c("regex", "character").
is.regex returns TRUE when the input inherits from class
"regex" and FALSE otherwise.
1 2 |
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.