> For AI agents: the complete documentation index is available at https://massaman.dev/llms.txt, the full documentation bundle is available at https://massaman.dev/llms-full.txt.

# Pattern


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