Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.table.copy

S๐Ÿท๏ธ Table

Part of StarfallEx namespace

๐Ÿ”— External
table.copy(tbl, lookup_table)
View on GitHub|lua/starfall/libs_sh/table.lua:220
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a deep copy and returns that copy. This function does NOT copy userdata, such as Vectors and Angles!

Parameters

NameTypeDescription
tbltableThe table to be copied
lookup_table?tableAn optional lookup table for cyclic reference detection

Returns

TypeDescription
tableA deep copy of the original table

Examples

No examples available.

Used In

No usages found in the codebase.