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

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 16,556 bytes
    • Micro-dash: 375 bytes

    Type Parameters

    • I
    • O

    Parameters

    • array: Nil | readonly I[]
    • predicate: ArrayNarrowingIteratee<O>

    Returns Exclude<I, O>[]

  • Type Parameters

    • T

    Parameters

    • array: Nil | readonly T[]
    • predicate: ArrayIteratee<T, boolean>

    Returns T[]

  • Type Parameters

    • I
    • O

    Parameters

    • object: Nil | I
    • predicate: ValueNarrowingIteratee<I, O>

    Returns Exclude<I[keyof I], O>[]

  • Type Parameters

    • I
    • O

    Parameters

    • object: Nil | I
    • predicate: KeyNarrowingIteratee<I, O>

    Returns {
        [K in keyof I]: Cast<K, string> extends O
            ? never
            : I[K]
    }[keyof I][]

  • Type Parameters

    • T

    Parameters

    • object: Nil | T
    • predicate: ObjectIteratee<T, boolean>

    Returns T[keyof T][]