A class and a constructor function to create boolean trait(let)s.
Super class
RKernel::Trait -> Boolean
Public fields
valueA logical vector, usually of length 1
optionalLogical, whether an initializing logical value must be provided
coerceLogical, whether 'as.logical()' is implicitely used when a value is assigned to the trait
lengthInteger, the length of the logical vector that poses as the value of the traitlet.
Methods
Inherited methods
Method new()
The initializing method
Usage
BooleanClass$new(
initial,
coerce = TRUE,
optional = length(initial) == 0,
length = 1
)