Description Usage Arguments See Also Examples
Which elements in a list are of length one? Are all elements in a list of length one?
1 2 3 4 5 | is.scalar(x)
are_scalar(x)
all_scalar(x)
|
x |
object to test |
Other tests: all_empty
,
are_empty
, is.empty
;
has_command
1 2 3 4 5 | is.scalar(1)
is.scalar(NULL)
are_scalar(list(1,2,3))
are_scalar(c(1,2,3))
all_scalar(list("a", "b", c("c", "d")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.