check-scalar-isVectorish | R Documentation |
Is the input vector(ish)?
isVectorish(x, nullOk = FALSE)
x |
Object. |
nullOk |
|
Intentionally returns TRUE
for some other vector-like classes, including
factor
, and Rle
.
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2022-12-14.
## TRUE ====
isVectorish(character())
isVectorish(factor())
isVectorish(integer())
isVectorish(logical())
isVectorish(S4Vectors::Rle())
## FALSE ====
isVectorish(data.frame())
isVectorish(matrix())
isVectorish(S4Vectors::DataFrame())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.