Type Alias SwitcherOptions

SwitcherOptions: {
    match: "first" | "all";
}

Switcher options.

match (default: 'first')

  • 'first': Outputs to first case where predicate is true
  • 'all': Outputs to all cases where predicate is true