Skip to content
On this page

pick

Example

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

Playground

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