Vyxapedia

Element - - Max by Tail

Characters:


Description

Maximum by last item


Overloads

  • any - max(a, key=lambda x: x[-1]) (maximum by last item)

Examples

  • ⟨⟨3|4⟩|⟨9|2⟩⟩ ↑ = ⟨3|4⟩
  • ⟨⟨1|2|3⟩|⟨2|5⟩⟩ ↑ = ⟨2|5⟩