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/goalie documentation built on Dec. 11, 2023, 11:36 p.m.