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 |
Complement | Returns true if the operands are equal. |
Right shift | Returns true if the operand is a number. |
Left shift | Returns 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.
Related
0 Comments