Logic
Conditional operations such as comparisons, booleans, and branching.
Controls If
Block
Description
If a value is true, then do some statements.
Params
- IF0: Boolean
- DO0: Blocks
Logic Compare
Block
Description
Return true if both inputs equal each other.
Params
- A: Any
- OP: Dropdown
- =
- ≠
- <
- ≤
- >
- ≥
- B: Any
Logic Operation
Block
Description
Return true if both inputs are true.
Params
- A: Boolean
- OP: Dropdown
- and
- or
- B: Boolean
Logic Negate
Block
Description
Returns true if the input is false. Returns false if the input is true.
Params
- BOOL: Boolean
Logic Boolean
Block
Description
Returns either true or false.
Params
- BOOL: Dropdown
- true
- false
Logic Null
Block
Description
Returns null.
Logic Ternary
Block
Description
Check the condition in 'test'. If the condition is true, returns the 'if true' value; otherwise returns the 'if false' value.
Params
- IF: Boolean
- THEN: Any
- ELSE: Any
Math Number Property
Block
Description
Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false.
Params
- NUMBER_TO_CHECK: Number
- PROPERTY: Dropdown
- even
- odd
- prime
- whole
- positive
- negative
- divisible by