Difference between revisions of "Table.clone"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
table.clone(source,destination,deepclone)
 
table.clone(source,destination,deepclone)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2022.3
Class: table

Description

Duplicates a table.

table.clone(source,destination,deepclone)

Parameters

source: (table) the source table
destination: (table) a new table to clone to optional
deepclone: (boolean) should the cloning be recursive optional, default = false