Share your code. Components are building blocks, you are the architect.

utils/pick-all
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
1     DEPENDENCIES
Build: fail
BuildFail
Build Status: fail
Similar to `pick` except that this one includes a `key: undefined` pair for

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/pick-all in your project
npm i @bit/bit.ramda.utils.pick-all
Copied

pickAll (names:Array, obj:Object) : Object

Similar to pick except that this one includes a key: undefined pair for properties that don’t exist.

Example

R.pickAll(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}
     R.pickAll(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, e: undefined, f: undefined}

Arguments

names: Array

an array of String property names to copy onto a new object

obj: Object

The object to copy from

Returns

Object

A new object with only properties from `names` on it.