• Type Parameters

    • Input

    Parameters

    • elements: readonly Input[]

    Returns (
        pred: (
            elem: Input,
            index: number,
            array: readonly Input[],
        ) => Promise<boolean>,
    ) => Promise<Input[]>