Pattern
isMatching
A predicate form of match — returns true/false instead of a value, and narrows types in the truthy branch.match
Exhaustive, type-safe pattern matching for TypeScript.NonExhaustiveError
The runtime error thrown by .exhaustive() when a value reaches it that no pattern matched.P
The pattern primitives namespace.Pattern
The type-level representation of a pattern.