is_r6_class | R Documentation |
Checks if the passed entity is a R6 class.
is_r6_class(value, class_name)
value |
the value to check |
class_name |
The name of the class |
## Not run:
# For assertion
assertthat::assert_that(qscheck::is_r6_class(value, "MyClass"))
# For check
if (qscheck::is_r6_class(value, "MyClass")) {}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.