classCheck: Class Check

Description Usage Arguments

View source: R/fs-new.R

Description

Checks whether an object belongs to a specified class. For back-end use only.

Usage

1
classCheck(x, what, msg)

Arguments

x

An object.

what

A character vector. The classes any of which x should have.

msg

A string. An error message if x is not what.


tpq/miSciTools documentation built on Sept. 16, 2019, 4:43 p.m.