Copies a structure. Copies top-level keys, values, and arrays
in the structure by value; copies nested structures by
reference.
Lucee Function Reference
structcopy()
Example
structcopy(struct struct):object
Category
struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
struct | struct | Yes | Structure to copy |