check-scalar-isAll | R Documentation |
Does the input belong to or inherit all of these classes?
isAll(x, classes)
x |
Object. |
classes |
|
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2019-10-04.
x <- 1L
## TRUE ====
isAll(x, classes = c("integer", "numeric"))
## FALSE ====
isAll(x, classes = c("integer", "NULL"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.