R/check-scalar-allAreAtomic.R
check-scalar-allAreAtomic.Rd
Does the input contain elements that are all atomic?
allAreAtomic(x, .xname = getNameInParent(x))
x | Object. |
---|---|
.xname | Name of object defined in |
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2019-08-10.
#> [1] TRUE#> [1] TRUE#> [1] FALSE #> Cause: 'data.frame()' has length 0.#> [1] FALSE #> Cause: Not all elements in 'list(a = "x", b = list())' are atomic.