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/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.