The Logicals
is defined as the Set containing the elements TRUE
and FALSE
.
Other special sets:
Complex
,
ExtendedReals
,
Integers
,
Naturals
,
NegIntegers
,
NegRationals
,
NegReals
,
PosIntegers
,
PosNaturals
,
PosRationals
,
PosReals
,
Rationals
,
Reals
,
Universal
set6::Set
-> Logicals
new()
Create a new Logicals
object.
Logicals$new()
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.
l <- Logicals$new() print(l) #> {TRUE, FALSE} l$contains(list(TRUE, 1, FALSE)) #> [1] TRUE FALSE TRUE