$copy is used to copy the transferred object. If the copy algorithm encounters an error, null is returned. The error is written into the browser console.
Tooltip
Syntax: $copy(value)
Parameter
Description
valueThe object to be copied.
The copy of the transferred object or null, in case of any error.
Syntax
$copy(value)
Parameter
Name | Description |
|---|---|
value | The object to be copied. |
Return value
The copy of the transferred object or null, in case of any error.
Example
Syntax | Result |
|---|---|
$copy($input) | Returns the copy of the input object. |