BC API DocsBC APIBC data- CommonCloneDeep<T>(obj: T, reviver?: (this: any, key: string, value: any) => any, replacer?: (this: any, key: string, value: any) => any): T
Type parameters
Parameters
obj: T
reviver: (this: any, key: string, value: any) => any = null
replacer: (this: any, key: string, value: any) => any = null
Returns T
Deep-clones an object
JSON serialization will break things like functions, Sets and Maps.