• Filters the list items from the head by pred. The elements which satisfy pred are only passed.

    Type Parameters

    • T

    Parameters

    • pred: ((element) => boolean)

      The condition to pick up an element.

        • (element): boolean
        • Parameters

          • element: T

          Returns boolean

    Returns ((list) => List<T>)

    The filtered list.

Generated using TypeDoc