Learn R Programming

ooplah (version 0.2.0)

is.R6Object: Is 'x' a R6 object?

Description

Assert/test if 'x' is a R6 object

Usage

is.R6Object(x)

assert_R6Object(x)

Arguments

x

Object to test

Value

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