Vyxapedia

Element - a - Any

Characters: a


Description

Check if any items of a list are truthy / Check if a character is an uppercase letter


Overloads

  • str - is_uppercase(a) if a.length == 1 else [is_uppercase(z) for z in a]
  • lst - any(a) (are any items truthy?)

Examples

  • ⟨1|2|3⟩ a = 1
  • ⟨0|1|2⟩ a = 1
  • `A` a = 1
  • `Hi` a = ⟨1|0⟩