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