BASE-cash-..len..: Length of the class or the instance

BASE$..len..R Documentation

Length of the class or the instance

Description

User could override this method in derived class.

Usage

BASE$..len..()

Examples


BASE$..len..()

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

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

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