Stores the result of performing a bitwise OR operation on the two given values in the left-hand-side variable.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Parameters
lhs
An integer value.
rhs
Another integer value.
Discussion
A bitwise OR operation results in a value that has each bit set to 1
where one or both of its arguments have that bit set to 1
. For example: