Vyxapedia

Element - ½ - Halve

Characters: ½


Description

Halves an item


Overloads

  • num - a / 2
  • str - a split into two strings of equal lengths (as close as possible)

Examples

  • 8 ½ = 4
  • `FizzBuzz` ½ = ⟨`Fizz`|`Buzz`⟩
  • `` ½ = ⟨``|``⟩
  • `a` ½ = ⟨`a`|``⟩
  • ⟨2|4|6|8⟩ ½ = ⟨1|2|3|4⟩
  • `abc` ½ = ⟨`ab`|`c`⟩