bits xor for bits

Performs bitwise xor for integers.

Signature

> bits xor (target)

Parameters

  • target: target integer to perform bit xor

Examples

Apply bits xor to two numbers

> 2 | bits xor 2
0

Apply logical xor to a list of numbers

> [8 3 2] | bits xor 2
╭───┬────╮
│ 010 │
│ 11 │
│ 20 │
╰───┴────╯