DefaultPropertyCloner
Default cloner implementation.
Clones array-like properties and leaves all other types unchanged.
Static Members
Methods
Constructor
.constructor() ⇒ DefaultPropertyCloner
Methods
.clone(type: Type, value: any) ⇒ any
Clone a property value.
Returns: The cloned value.
| Param | Type | Description |
|---|---|---|
type | Type | Type of the property. |
value | any | Value of the property. |