is.R6: Is 'x' a R6 object or class?

View source: R/is.R6.R

is.R6R Documentation

Is 'x' a R6 object or class?

Description

Assert/test if 'x' is a R6 object or class

Usage

is.R6(x)

assert_R6(x)

Arguments

x

Object to test

Value

Either TRUE/FALSE is testing if x inherits from R6 or R6ClassGenerator, otherwise returns x invisibly on assertion if TRUE or returns an error if FALSE


xoopR/R6misc documentation built on April 5, 2022, 4:19 a.m.