Skip to content

Table ​

Types ​

Dict type ​

luau
type Dict = { [any]: any }

List type ​

luau
type List = { any }

Functions ​

concat ​

luau
Table.concat(array: List, delimiter: string): string

countKeys ​

luau
Table.countKeys(t: Dict): number

toHashMap ​

luau
Table.toHashMap(array: List): Dict

map ​

luau
Table.map(array: List, callback: (any, any) -> any)

isArray ​

luau
Table.isArray(object: Dict)

merge ​

luau
Table.merge(to: Dict, from: Dict): Dict

mergeList ​

luau
Table.mergeList(to: List, from: List)

deepCompare ​

luau
Table.deepCompare(a: any, b: any)

deepMerge ​

luau
Table.deepMerge(to: Dict, from: Dict, appendArrays: boolean?): Dict

deepCopy ​

luau
Table.deepCopy(original: Dict): Dict

settle ​

luau
Table.settle(t: { any })

fastRemove ​

luau
Table.fastRemove(t: { any }, index: number, indexEnd: number?)

shuffle ​

luau
Table.shuffle(list: { any })