- Preparing search index...
- The search index is not available
atomic-fns
- clone<T>(value: T, deep?: boolean): T
-
Parameters
-
value: T
-
Optional
deep: boolean
Returns T
- clone<T>(value: T[], deep?: boolean): T[]
-
Parameters
-
value: T[]
-
Optional
deep: boolean
Returns T[]
Creates a shallow clone of
value
. Ifdeep
istrue
it will clone it recursively.Returns
The clone value
See