or
or<
A,C>(second): <B>(first) =>Refinement<A,C|B>
Defined in: Core/Refinement.ts:113
Unions two refinements: the result narrows A to B | C, passing when either
refinement holds.
Data-last — the first refinement is the data being piped.
Type Parameters
Section titled “Type Parameters”A
C
Parameters
Section titled “Parameters”second
Section titled “second”Refinement<A, C>
Returns
Section titled “Returns”<
B>(first):Refinement<A,C|B>
Type Parameters
Section titled “Type Parameters”B
Parameters
Section titled “Parameters”Refinement<A, B>
Returns
Section titled “Returns”Refinement<A, C | B>