Skip to content

Logical Primitives

Conditional

Primitive Description
Conditional Operator x?y:z, if...then...else conditional
About the If Statement If...then...else conditional
About the Switch Statement Keyword - defines a switch statement
firsttrue Name of the first argument in a list that evaluates true

Comparisons

Primitive Description
Equal Operator x==y, compares for equality
Not Equal Operator x!=y, compares for inequality
Greater than Operator x>y, compares two objects
Greater than or equal Operator x>=y, compares two objects
Less Than Operator x<y, compares two objects
Less Than or Equal Operator x<=y, compares two objects

Boolean Operators

Primitive Description
Logical And Operator x&&y, logical And
Logical Not Operator !x, logical Not
[Logical Or](../../../manual/supply-chain-planning/concept/primitives/all.md#logical_or "Operator x

Boolean Values

Primitive Description
true Logical true
false Logical false
yes Logical true
no Logical false