• Chains eithers where it returns out a Left if one of the composed functions returns left or the Right value if all succeedes.

    Returns

    IAEither<L, B>

    Type Parameters

    • L

    • R

    • B

    Parameters

    • f: ((a: R) => AEither<L, B> | Promise<B>)
        • (a: R): AEither<L, B> | Promise<B>
        • Parameters

          • a: R

          Returns AEither<L, B> | Promise<B>

    • either: AEither<L, R>

    Returns AEither<L, B>

Generated using TypeDoc