Bit operationsReference
bit.bor
Combine values with bitwise OR.
Details#
Combine values with bitwise OR. A number in 0…4294967295 representing an unsigned 32-bit result.
Signature#
bit.bor(...values: number): numberParameters#
| Parameter | Type | Description |
|---|---|---|
...values | number | Values folded from left to right. |
Returns#
A number in 0…4294967295 representing an unsigned 32-bit result.
Examples#
Local example
print(bit.bor(12, 10)) -- 14