Learn R Programming

objectSignals (version 0.9.1)

lazyField: Lazily initialize the fileds

Description

Declares a lazily initialized field, with the class and initializer.

Usage

lazyField(name, class, expr)

Arguments

name
The name of the field
class
The class of the field
expr
Expression that when evaluated initializes the field

Value