Vyxapedia

Element - ÞȮ - Is Ordered?

Characters: Þ, Ȯ


Description

Returns true if the item is sorted in either descending or ascending order.


Overloads

  • lst - is a sorted in increasing or decreasing order?

Examples

  • ⟨1|2|2|3|3|3|4|4|4|5|6⟩ ÞȮ = 1
  • `abcde` ÞȮ = 1
  • ⟨3|2|1⟩ ÞȮ = 1
  • ⟨4|6|8|10|3432|65543⟩ ÞȮ = 1
  • `` ÞȮ = 1
  • ⟨⟩ ÞȮ = 1