Package: effect
Module: UndefinedOr
Creates a Combiner for A | undefined that combines values only when both
operands are defined.
When to use
Use to lift a Combiner so any undefined operand makes the combined result
undefined.
Details
undefined combined with any value returns undefinedundefined returns undefineda combined with b returns combiner.combine(a, b)See
makeReducerFailFast if you have a Reducer and want to lift it
to UndefinedOr values.Signature
declare const makeCombinerFailFast: <A>(combiner: Combiner.Combiner<A>) => Combiner.Combiner<A | undefined>
Since v4.0.0