Table Helper
deepclone
Creates a deep copy of a table, including all nested tables and their contents
table.deepclone(tbl)
- tbl:
table
returns: table
matches
Compares if two values are equal, iterating over tables and matching both keys and values.
table.matches(tbl1, tbl2)
- tbl1:
table
- tbl2:
table
returns: boolean
contains
Checks if tbl1 contains the given values.
table.contains(tbl1, tbl2)
- tbl1:
table
- tbl2:
table
returns: boolean
merge
Checks if tbl1 contains the given values.
table.merge(tbl1, tbl2)
- tbl1:
table
- tbl2:
table
returns: table