indexFunctions
Function: createExportableElement()
> createExportableElement<T>(element): T
Defined in: src/utils/export-utility.ts:10
This function is used to create a deep copy of the element
Type Parameters
T
T
Parameters
element
T
The element to be copied
Returns
T
The copied element
Throws
when the element is not JSON serializable (e.g. contains functions or class instances).