Skip to main content
Module

x/fuzzy_octo_guacamole/mod.ts>P.matcher

A playground for testing CI setup that deploys on Deno and NPM
Latest
type alias P.matcher
Re-export
import { type P } from "https://deno.land/x/fuzzy_octo_guacamole@v5.0.1/mod.ts";
const { matcher } = P;
definition: matcher
variable P.matcher
Re-export
import { P } from "https://deno.land/x/fuzzy_octo_guacamole@v5.0.1/mod.ts";
const { matcher } = P;

Symbols used internally within ts-pattern to construct and discriminate Guard, Not, and Select, and AnonymousSelect patterns

Symbols have the advantage of not appearing in auto-complete suggestions in user defined patterns, and eliminate the risk of property overlap between ts-pattern internals and user defined patterns.

These symbols have to be visible to tsc for type inference to work, but users should not import them