Description Usage Arguments Value See Also Examples
If a function named is.class exists, call is.class(x).
If not, call is(x, class).
1 | is2(x, class, .xname = get_name_in_parent(x))
|
x |
Input to check. |
class |
Target class that |
.xname |
Not intended to be used directly. |
TRUE if x belongs to the class and FALSE
otherwise.
is, and
assert_is_all_of for the corresponding assert fns.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.