Skip to contents

User could override this method in derived class.

Usage

BASE$..len..()

Examples


BASE$..len..()
#> NULL

# Inherit from BASE
TEST <- new_class(BASE, class_name = "TEST")

# Override the `..len..` method
register_method(TEST, ..len.. = function() 1)
TEST$..len..()
#> [1] 1