Boolean
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
Corticon's Boolean attribute operators are as follows:
| Name and Syntax | Returns | Description | |
|---|---|---|---|
| Equals (used as a comparison) | |||
<Expression1> =
<Expression2> |
Boolean | Returns a value of true if <Expression1> has the same value as <Expression2>. |
|
| Equals (used as an assignment) | |||
<Boolean1> =
<Expression1> |
Boolean | Assigns the truth value of <Expression1> to <Boolean1> |
|
| Not Equal To | |||
<Expression1>
<> <Expression2> |
Boolean | Returns a value of true if <Expression1> does not have the same truth value as <Expression2> |
|
| Or | |||
<Expression1> or
<Expression2> or … |
Boolean | Returns a value of true if either <Expression1> or <Expression2> evaluates to true. This operator can be used only
in Actions and Preconditions/Filters. |
|
| And | |||
<<Boolean1> and
<Boolean2> |
Boolean | Returns a value of true if both <<Boolean1> and <Boolean2 are true. This operator can be
used only in Actions and Preconditions/Filters. |
|
| Not | |||
not <Expression> |
Boolean | Returns the negation of the truth value of <Expression> |
|
Note: See also related information in the
topics Precedence of rule operators and Standard Boolean constructions..