• Map the elements in an iterable to Either and collect the Right values in an array.

    Type Parameters

    • T

    • E

    • T1

    Parameters

    • elems: Iterable<T>
    • f: ((elem, idx) => Either<E, T1>)
        • (elem, idx): Either<E, T1>
        • Parameters

          • elem: T
          • idx: number

          Returns Either<E, T1>

    Returns Either<E, T1[]>

Generated using TypeDoc