Takaro - v0.4.11
    Preparing search index...

    Function reject

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

      Parameters

      • collection: string | null | undefined

        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: List<T> | null | undefined
      • Optionalpredicate: ListIterateeCustom<T, boolean>

      Returns T[]

      _.reject

    • Type Parameters

      • T extends object

      Parameters

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

      Returns T[keyof T][]

      _.reject