Skip to main content

not

Overview​

  • It enables you to match on everything but a specific value.
  • It takes a pattern and returns its opposite.
  • It's a re-export of ts-pattern's not function.