• The opposite of _.filter; this method returns the elements of collection that predicate does not return truthy for.

    Parameters

    • collection: undefined | null | string

      The collection to iterate over.

    • Optionalpredicate: StringIterator<boolean>

      The function invoked per iteration.

    Returns string[]

    Returns the new filtered array.

  • Type Parameters

    • T

    Parameters

    • collection: undefined | null | List<T>
    • Optionalpredicate: ListIterateeCustom<T, boolean>

    Returns T[]

    _.reject

  • Type Parameters

    • T extends object

    Parameters

    • collection: undefined | null | T
    • Optionalpredicate: ObjectIterateeCustom<T, boolean>

    Returns T[keyof T][]

    _.reject