CaseRepresents 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.
Source effect/Match.ts:1671 lines
export type type Case = When | NotRepresents 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.
Case = When | NotReferenced by 2 symbols