Skip to main content

&

Overloads

NameDescription
(integer lhs & integer rhs) -> integerPerforms a bitwise AND operation.
(integer lhs & bool rhs) -> integerPerforms a bitwise AND operation.
(bool lhs & integer rhs) -> integerPerforms a bitwise AND operation.
(bool lhs & bool rhs) -> integerPerforms a bitwise AND operation.

(integer lhs & integer rhs) -> integer

Performs a bitwise AND operation.

Parameters

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

Returns

The result of the bitwise AND operation.

(integer lhs & bool rhs) -> integer

Performs a bitwise AND operation.

Parameters

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

Returns

The result of the bitwise AND operation.

(bool lhs & integer rhs) -> integer

Performs a bitwise AND operation.

Parameters

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

Returns

The result of the bitwise AND operation.

(bool lhs & bool rhs) -> integer

Performs a bitwise AND operation.

Parameters

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

Returns

The result of the bitwise AND operation.