duplicate

Overview ColdFusion Open BlueDragon Lucee

Returns a new duplicated version of the given object, removing all references to the old one

Available: Yes

Attributes

Name Required Type Default Description
deepcopy No Boolean if set to true (default) also the child elements are cloned, otherwise the child elements are still the same as in the original object
4
object Yes Any Name of a variable to duplicate
variable_name Yes Any Name of a variable to duplicate