is_bandicoot_oop {bandicoot}R Documentation

Check whether the object is a bandicoot_oop object

Description

This function check whether the object is a bandicoot_oop object.

Usage

is_bandicoot_oop(obj, why = FALSE)

Arguments

obj

Any object.

why

Boolean. Whether or not to print the reason when the check fail.

Value

A Boolean value.

Examples


e <- new.env()
is_bandicoot_oop(e)

e <- new_class(class_name = "test")
is_bandicoot_oop(e)


[Package bandicoot version 1.0.0 Index]