@pleisto/active-support
    Preparing search index...

    Function reject

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

      Type Parameters

      • T

      Parameters

      • arr: T[]

        The array to iterate over.

      • predicate: (value: T, index: number, array: T[]) => boolean

        The function invoked per iteration.

      Returns T[]

      Returns the new filtered array.