Vyxapedia

Element - - Tail Remove / Truthy Under

Characters:


Description

Cut off the last item of a list / push 1 under the top of the stack


Overloads

  • num - push 1 then the popped item
  • any - a[:-1] (all but the last item)

Examples

  • `1234` Ṫ = `123`
  • ⟨1|2|3⟩ Ṫ = ⟨1|2⟩
  • ⟨⟩ Ṫ = ⟨⟩
  • -1234.56 Ṫ = -1234.56