compose
compose<
A,B,C>(bc): (ab) =>Refinement<A,C>
Defined in: Core/Refinement.ts:69
Chains two refinements: if ab narrows A to B and bc narrows B to C,
the result narrows A directly to C.
Data-last — the first refinement ab is the data being piped.
Type Parameters
Section titled “Type Parameters”A
B
C
Parameters
Section titled “Parameters”Refinement<B, C>
Returns
Section titled “Returns”(ab) => Refinement<A, C>