R/is.R6.R
is.R6Object.Rd
Assert/test if 'x' is a R6 object
is.R6Object(x) assert_R6Object(x)
Object to test
Either TRUE/FALSE is testing if x inherits from R6, otherwise returns x invisibly on assertion if TRUE or returns an error if FALSE
x
R6