BASE-cash-has_attr: Whether or not an attribute or method exists

BASE$has_attrR Documentation

Whether or not an attribute or method exists

Description

This function checks whether or not an attribute or method exists.

Usage

BASE$has_attr(attr_name)

Arguments

attr_name

Character. Attribute name.

Value

True or FALSE.

Examples


BASE$has_attr("test")

BASE$has_attr("..len..")

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