Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Logicals

Set of Logicals


Description

The Logicals is defined as the Set containing the elements TRUE and FALSE.

Super class

set6::Set -> Logicals

Methods

Public methods


Method new()

Create a new Logicals object.

Usage
Logicals$new()
Details

The Logical set is the set containing TRUE and FALSE.

Returns

A new Logicals object.


Method clone()

The objects of this class are cloneable with this method.

Usage
Logicals$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Examples

l <- Logicals$new()
print(l)
l$contains(list(TRUE, 1, FALSE))

set6

R6 Mathematical Sets Interface

v0.2.1
MIT + file LICENSE
Authors
Raphael Sonabend [aut, cre] (<https://orcid.org/0000-0001-9225-4654>), Franz Kiraly [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.