Learn R Programming

bandicoot (version 1.0.0)

BASE$has_attr: 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)

Value

True or FALSE.

Arguments

attr_name

Character. Attribute name.

Examples

Run this code

BASE$has_attr("test")

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

Run the code above in your browser using DataLab