Function remove

  • Removes all elements from array that func returns truthy for and returns an array of the removed elements.

    Returns

    Type Parameters

    • T

    Parameters

    • arr: T[]

      The array to remove from.

    • func: T

      The function invoked per iteration or value(s) or value to remove.

    Returns T[]

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • func: T[]

    Returns T[]

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • func: Iteratee<T, any, any>

    Returns T[]

Generated using TypeDoc