Package: effect
Module: Match
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.
See
When for positive casesNot for negative casesSignature
type Case = When | Not
Since v4.0.0