bits or for bits

Performs bitwise or for integers.

Signature

> bits or (target)

Parameters

  • target: target integer to perform bit or

Examples

Apply bits or to two numbers

> 2 | bits or 6
6

Apply logical or to a list of numbers

> [8 3 2] | bits or 2
╭───┬────╮
│ 010 │
│ 13 │
│ 22 │
╰───┴────╯