• Remove all elements from the array that matches the specified predicate

    Type Parameters

    • T

    Parameters

    • source: T[]

      Source array

    • predicate: ((item, index) => boolean)

      predicate to match

        • (item, index): boolean
        • Parameters

          • item: T
          • index: number

          Returns boolean

    Returns T[]

    Items removed from the array