check-scalar-allAreAtomic | R Documentation |
Does the input contain elements that are all atomic?
allAreAtomic(x)
x |
Object. |
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2023-09-29.
is.atomic()
.
## TRUE ====
allAreAtomic(data.frame(a = "foo", b = "bar"))
allAreAtomic(list(a = "foo", b = "bar"))
## FALSE ====
allAreAtomic(data.frame())
allAreAtomic(list(a = "x", b = list()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.