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