updeep
Version:
Easily update nested frozen objects and arrays in a declarative and immutable manner.
8 lines (7 loc) • 422 B
TypeScript
export declare function omitBy<C extends object, P extends (...args: any[]) => boolean>(predicate: P, collection: C): object;
interface CurriedOmitBy {
<C extends object, P extends (...args: any[]) => boolean>(predicate: P, collection: C): object;
<C extends object, P extends (...args: any[]) => boolean>(predicate: P): (collection: C) => object;
}
declare const _default: CurriedOmitBy;
export default _default;