check-scalar-isAll: Does the input belong to or inherit all of these classes?

check-scalar-isAllR Documentation

Does the input belong to or inherit all of these classes?

Description

Does the input belong to or inherit all of these classes?

Usage

isAll(x, classes)

Arguments

x

Object.

classes

character. Object classes.

Value

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

Note

Updated 2019-10-04.

Examples

x <- 1L

## TRUE ====
isAll(x, classes = c("integer", "numeric"))

## FALSE ====
isAll(x, classes = c("integer", "NULL"))

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