Skip to main content

|

Overloads

NameDescription
(integer lhs | integer rhs) -> integerPerforms a bitwise OR operation.
(integer lhs | bool rhs) -> integerPerforms a bitwise OR operation.
(bool lhs | integer rhs) -> integerPerforms a bitwise OR operation.
(bool lhs | bool rhs) -> integerPerforms a bitwise OR operation.

(integer lhs | integer rhs) -> integer

Performs a bitwise OR operation.

Parameters

  • lhs: The left-hand side number.
  • rhs: The right-hand side number.

Returns

The result of the bitwise OR operation.

(integer lhs | bool rhs) -> integer

Performs a bitwise OR operation.

Parameters

  • lhs: The left-hand side number.
  • rhs: The right-hand side number.

Returns

The result of the bitwise OR operation.

(bool lhs | integer rhs) -> integer

Performs a bitwise OR operation.

Parameters

  • lhs: The left-hand side number.
  • rhs: The right-hand side number.

Returns

The result of the bitwise OR operation.

(bool lhs | bool rhs) -> integer

Performs a bitwise OR operation.

Parameters

  • lhs: The left-hand side number.
  • rhs: The right-hand side number.

Returns

The result of the bitwise OR operation.