deepCopy

Public Function

Deep copy function for TypeScript.

Example
const A = deepCopy({ a: 1, b: { c: 2 } })
Parameters
NameDescription

obj

T

Target value to be copied.

Returns
T
Edit this page
Last edited on 12 June 2023
dedupeErrorResult