Skip to content

MatcherRegistry

type MatcherRegistry =
| Map<string, MatcherFn>
| Record<string, MatcherFn>
| Iterable<readonly [string, MatcherFn]>;

Defined in: matchers.ts:59

A set of named matchers: a Map<name, fn>, a plain Record<name, fn>, or any iterable of [name, fn] tuples.