Skip to content

tableCopy

Ben edited this page Aug 16, 2022 · 1 revision

Recursively copy all content from one table to another

TRP3_API.utils.table.copy(destination, source)

Arguments

  • destination: table reference
  • source: source table

Example

Copy content from one table into another

local tableAPI = TRP3_API.utils.table
local destination = {}
local source = {"Ghost" = 1}

tableAPI.tableCopy(destination, source)

Clone this wiki locally