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

utils/over
v1.0.0
1.0.0
MIT
PUBLIC
0
1     DEPENDENCIES
Build: none
BuildNone
Returns the result of "setting" the portion of the given data structure

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/over in your project
npm i @bit/bit.ramda.utils.over
Copied

over (lens:Lens, v:*, x:*) : *

Returns the result of “setting” the portion of the given data structure focused by the given lens to the result of applying the given function to the focused value.

Example

var headLens = R.lensIndex(0);

     R.over(headLens, R.toUpper, ['foo', 'bar', 'baz']); //=> ['FOO', 'bar', 'baz']

Arguments

lens: Lens

v: *

x: *

Returns

*