- reject<I, O>(array, predicate): Exclude<I, O>[]
Parameters
- array: Nil | readonly I[]
- predicate: ArrayNarrowingIteratee<O>
Returns Exclude<I, O>[]
- reject<T>(array, predicate): T[]
Parameters
- array: Nil | readonly T[]
- predicate: ArrayIteratee<T, boolean>
Returns T[]
- reject<I, O>(object, predicate): Exclude<I[keyof I], O>[]
Parameters
- object: Nil | I
- predicate: ValueNarrowingIteratee<I, O>
Returns Exclude<I[keyof I], O>[]
- reject<I, O>(object, predicate): {
[K in keyof I]: Cast<K, string> extends O
? never
: I[K]
}[keyof I][] Parameters
- object: Nil | I
- predicate: KeyNarrowingIteratee<I, O>
Returns {
[K in keyof I]: Cast<K, string> extends O
? never
: I[K]
}[keyof I][]
- reject<T>(object, predicate): T[keyof T][]
Parameters
- object: Nil | T
- predicate: ObjectIteratee<T, boolean>
Returns T[keyof T][]
The opposite of
filter
; this function returns the elements ofcollection
thatpredicate
does not return truthy for.Contribution to minified bundle size, when it is the only function imported: