is_bandicoot_oop: Check whether the object is a 'bandicoot_oop' object

View source: R/oop.R

is_bandicoot_oopR 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)


bandicoot documentation built on May 29, 2024, 8:01 a.m.