1 contributor
Like
Install update as a package?
Copied
npm i @bit/justin-capalbo.ramda.update
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
update (
idx:
Number
,x:
*
,list:
) : (Array | Arguments)
Array
Returns a new copy of the array with the element at the provided index replaced with the given value.
Example
Arguments
idx:
Number
The index to update.
x:
*
The value to exist at the given index of the returned array.
list:
(Array | Arguments)
The source array-like object to be updated.
Returns
Array
A copy of `list` with the value at index `idx` replaced with `x`.