powered by
Checks for R6 class generators and R6 objects.
is.R6(x)is.R6Class(x)
is.R6Class(x)
A logical value.
is.R6Class returns TRUE when the input is an R6 class generator and FALSE otherwise.
is.R6Class
TRUE
FALSE
is.R6 returns TRUE when the input is an R6 object and FALSE otherwise.
is.R6
An object.
class_generator <- R6Class() object <- class_generator$new() is.R6Class(class_generator) is.R6(class_generator) is.R6Class(object) is.R6(object)
Run the code above in your browser using DataLab