Skip to content

omit

omit<K>(…omittedKeys): <A>(data) => Omit<A, K>

Defined in: Data/Rec.ts:218

Omits specific keys from a record.

K extends string

K[]

<A>(data) => Omit<A, K>

pipe({ a: 1, b: 2, c: 3 }, Rec.omit("b")); // { a: 1, c: 3 }