Skip to contents

Test for a cellspec object

Usage

is_cellspec(x)

Arguments

x

Any R object.

Value

TRUE if x inherits from "cellspec", otherwise FALSE. The object is not validated; use cs_validate() for that.

Examples

is_cellspec(cs_example())
#> [1] TRUE
is_cellspec(data.frame())
#> [1] FALSE