Accepts plain boolean guards ((x) => x.length > 0) or TS type-predicate
guards ((x): x is Foo => ...). For type predicates, the matched handler's
input is narrowed to the predicate's target type via Narrow.
Accepts plain boolean guards ((x) => x.length > 0) or TS type-predicate
guards ((x): x is Foo => ...). For type predicates, the matched handler's
input is narrowed to the predicate's target type via Narrow.
Guard pattern for match.with.
Accepts plain boolean guards (
(x) => x.length > 0) or TS type-predicate guards ((x): x is Foo => ...). For type predicates, the matched handler's input is narrowed to the predicate's target type via Narrow.