1 contributor
Like
Install clone as a package?
Copied
npm i @bit/justin-capalbo.ramda.clone
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
clone (
value:
) : *
*
Creates a deep copy of the value which may contain (nested) Array
s and
Object
s, Number
s, String
s, Boolean
s and Date
s. Function
s are
assigned by reference rather than copied
Dispatches to a clone
method if present.
Example
Argument
value:
*
The object or array to clone
Returns
*
A deeply cloned copy of `val`