Creates a new object composed of selected keys from the original object.
The source object.
The keys to pick.
A new object with only the picked keys.
pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 } Copy
pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 }
Creates a new object composed of selected keys from the original object.