utils: Common utility functions

isRcR Documentation

Common utility functions

Description

Common utility functions

Usage

isRc(x, clazz = "refClass")

Arguments

x

the object to check

clazz

the name of the class e.g. "Element" for the Element class. Optional, if omitted it checks that the object is a reference class

Value

A boolean indicating whether the object x belongs to the class or not

Functions

  • isRc: Check if the object is a reference class, similar to isS4().


Alipsa/rcdom documentation built on March 27, 2022, 11:07 p.m.