• Returns first mapped item which is not null nor undefined. So it does not map all items.

    Type Parameters

    • TSource

    • TResult

    Parameters

    • sourceItems: Iterable<TSource>
    • mapItem: ((item: TSource) => undefined | null | TResult)
        • (item: TSource): undefined | null | TResult
        • Parameters

          • item: TSource

          Returns undefined | null | TResult

    Returns TResult | null

Generated using TypeDoc