BASE$..len.. {bandicoot}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..()

[Package bandicoot version 1.0.0 Index]