Table.clone

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2022.3
Class: table

Description

Duplicates a table. <syntaxhighlight lang="lua"> table.clone(source,destination,deepclone) </source>

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