Skip to contents

This function delete an attribute.

Usage

BASE$del_attr(attr_name)

Arguments

attr_name

Character. Attribute name.

Value

Return the object itself.

Examples


test <- BASE$instantiate()
test$set_attr("x", 1)
test$x
#> [1] 1
test$del_attr("x")
test$x
#> NULL