ROOC
Try in the editor
ROOC docs
GitHub
Preparing search index...
index
BooleanExpression
Class BooleanExpression
A typed Boolean expression that can also be used arithmetically as 0/1.
Hierarchy (
View Summary
)
NumericExpression
BooleanExpression
BoolVar
Index
Constructors
constructor
Methods
add
sub
mul
div
neg
eq
le
lt
ge
gt
and
or
xor
implies
iff
not
Constructors
Protected
constructor
new
BooleanExpression
(
node
:
unknown
,
owner
?:
symbol
)
:
BooleanExpression
Internal
Parameters
node
:
unknown
Optional
owner
:
symbol
Returns
BooleanExpression
Methods
add
add
(
rhs
:
NumericInput
)
:
NumericExpression
Parameters
rhs
:
NumericInput
Returns
NumericExpression
sub
sub
(
rhs
:
NumericInput
)
:
NumericExpression
Parameters
rhs
:
NumericInput
Returns
NumericExpression
mul
mul
(
factor
:
number
)
:
NumericExpression
Parameters
factor
:
number
Returns
NumericExpression
div
div
(
divisor
:
number
)
:
NumericExpression
Parameters
divisor
:
number
Returns
NumericExpression
neg
neg
()
:
NumericExpression
Returns
NumericExpression
eq
eq
(
rhs
:
NumericInput
)
:
Constraint
Parameters
rhs
:
NumericInput
Returns
Constraint
le
le
(
rhs
:
NumericInput
)
:
Constraint
Parameters
rhs
:
NumericInput
Returns
Constraint
lt
lt
(
rhs
:
NumericInput
)
:
Constraint
Parameters
rhs
:
NumericInput
Returns
Constraint
ge
ge
(
rhs
:
NumericInput
)
:
Constraint
Parameters
rhs
:
NumericInput
Returns
Constraint
gt
gt
(
rhs
:
NumericInput
)
:
Constraint
Parameters
rhs
:
NumericInput
Returns
Constraint
and
and
(
rhs
:
BooleanInput
)
:
BooleanExpression
Parameters
rhs
:
BooleanInput
Returns
BooleanExpression
or
or
(
rhs
:
BooleanInput
)
:
BooleanExpression
Parameters
rhs
:
BooleanInput
Returns
BooleanExpression
xor
xor
(
rhs
:
BooleanInput
)
:
BooleanExpression
Parameters
rhs
:
BooleanInput
Returns
BooleanExpression
implies
implies
(
rhs
:
BooleanInput
)
:
BooleanExpression
Parameters
rhs
:
BooleanInput
Returns
BooleanExpression
iff
iff
(
rhs
:
BooleanInput
)
:
BooleanExpression
Parameters
rhs
:
BooleanInput
Returns
BooleanExpression
not
not
()
:
BooleanExpression
Returns
BooleanExpression
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
sub
mul
div
neg
eq
le
lt
ge
gt
and
or
xor
implies
iff
not
Try in the editor
ROOC docs
GitHub
ROOC
Loading...
A typed Boolean expression that can also be used arithmetically as 0/1.