Skip to content

bitwiseOr

bitwiseOr(binary1, binary2) → binary · Binary

Perform bitwise OR on two binary values.

  • binary1 (required): first operand

  • binary2 (required): second operand (same length)

utlx
{
  combined: toHex(bitwiseOr(fromHex("AA00"), fromHex("0055")))
}
// Output: {"combined": "aa55"}

Released under AGPL-3.0.