powered by
The Logicals is defined as the Set containing the elements TRUE and FALSE.
Logicals
TRUE
FALSE
set6::Set -> Logicals
set6::Set
Logicals$new()
Logicals$clone()
set6::Set$add()
set6::Set$contains()
set6::Set$equals()
set6::Set$isSubset()
set6::Set$multiplicity()
set6::Set$print()
set6::Set$remove()
set6::Set$strprint()
set6::Set$summary()
new()
Create a new Logicals object.
The Logical set is the set containing TRUE and FALSE.
A new Logicals object.
clone()
The objects of this class are cloneable with this method.
Logicals$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other special sets: Complex, ExtendedReals, Integers, Naturals, NegIntegers, NegRationals, NegReals, PosIntegers, PosNaturals, PosRationals, PosReals, Rationals, Reals, Universal
Complex
ExtendedReals
Integers
Naturals
NegIntegers
NegRationals
NegReals
PosIntegers
PosNaturals
PosRationals
PosReals
Rationals
Reals
Universal
# NOT RUN { l <- Logicals$new() print(l) l$contains(list(TRUE, 1, FALSE)) # }
Run the code above in your browser using DataLab