Vyxapedia

Element - N - Negate / Swap Case / First Integer Where Truthy

Characters: N


Description

Negate a number / swap case of a string / first integer where a function truthy


Overloads

  • num - -a (negate)
  • str - swap_case(a) (toggle case)
  • fun - first integer where a(n) is true

Examples

  • 5 N = -5
  • -1 N = 1
  • `a` N = `A`
  • `aBc` N = `AbC`