check-scalar-allAreAtomic: Does the input contain elements that are all atomic?

check-scalar-allAreAtomicR Documentation

Does the input contain elements that are all atomic?

Description

Does the input contain elements that are all atomic?

Usage

allAreAtomic(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2023-09-29.

See Also

is.atomic().

Examples

## TRUE ====
allAreAtomic(data.frame(a = "foo", b = "bar"))
allAreAtomic(list(a = "foo", b = "bar"))

## FALSE ====
allAreAtomic(data.frame())
allAreAtomic(list(a = "x", b = list()))

acidgenomics/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.