isClass: Check if object is of class x

View source: R/asserts.R

isClassR Documentation

Check if object is of class x

Description

isClassOrNULL checks if object is an instance of a specified class or is null.

Usage

isClass(x, class)

Arguments

x

object to test.

class

String specifying class to test.

Value

Logical indicating if x is an instance of class.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.