Loading...

Logo
DocumentationBehaviorsLogicBitwise Operation
Logic

Bitwise Operation

Last updated November 27, 2020

Description

Outputs the result of performing a bitwise operation on the operand(s).

Properties

Triggers Immediately

And

Returns the result of performing a bitwise and operation on 2 operands, both operands must be numbers

Or

Returns the result of performing a bitwise or operation on 2 operands, both operands must be numbers

Xor

Returns the result of performing a bitwise xor operation on 2 operands, both operands must be numbers

ComplementReturns true if the operands are equal.
Right shiftReturns true if the operand is a number.
Left shiftReturns true if the operand is a string.

Outputs

Value

Outputs the result of the bitwise operation.

Examples

For example, you could store statuses as a number and use and to get the value of a specific bit.

Boolean

Text Operation