Skip to content
On this page

omit

Create an object without the given properties.

Example

omit({ a: 1, b: 2, c: 3 }, ['a', 'b']) // => { c: 3 }

Playground

const { omit } = require('rhodash')
omit({ a: 1, b: 2, c: 3 }, ['a', 'b']) // => { c: 3 }