Skip to contents

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")
#> [1] FALSE

BASE$has_attr("..len..")
#> [1] TRUE