Hyperlinkv0.8.0-beta.28

Match

Match.Casetypeeffect/Match.ts:167
Case

Represents a single pattern matching case.

When to use

Use as the common public type for code that needs to inspect, store, or pass either positive or negative pattern matching cases.

Details

A Case can be either a positive match (When) or a negative match (Not). Cases are the building blocks of pattern matching logic and determine how values are tested and transformed.

modelsWhenNot
Source effect/Match.ts:1671 lines
export type Case = When | Not
Referenced by 2 symbols