Returns a shallow object made of only the keys and values for each path.
pick(['hello', 'foo.bar'])({ hello: "world", foo: { bar: "zip" }})// => { hello: "world", bar: "zip" } Copy
pick(['hello', 'foo.bar'])({ hello: "world", foo: { bar: "zip" }})// => { hello: "world", bar: "zip" }
Generated using TypeDoc
Returns a shallow object made of only the keys and values for each path.