Rename table.concat
to table.concatTables
to resolve conflict
This commit is contained in:
parent
bcd8c95388
commit
be0781340a
3 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.0.9
|
||||||
|
Date: 28.02.2025
|
||||||
|
Bug Fixes:
|
||||||
|
- Rename `table.concat` to `table.concatTables` to resolve conflict
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.8
|
Version: 0.0.8
|
||||||
Date: 28.02.2025
|
Date: 28.02.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cf-lib",
|
"name": "cf-lib",
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"title": "cackling fiends library",
|
"title": "cackling fiends library",
|
||||||
"description": "Because I'd like to have my own library :-)",
|
"description": "Because I'd like to have my own library :-)",
|
||||||
"author": "cackling fiend",
|
"author": "cackling fiend",
|
||||||
|
|
|
@ -74,7 +74,7 @@ end
|
||||||
--- @param table1 table The first table
|
--- @param table1 table The first table
|
||||||
--- @param table2 table The second table
|
--- @param table2 table The second table
|
||||||
--- @return table The concatenated table
|
--- @return table The concatenated table
|
||||||
function table.concat(table1, table2)
|
function table.concatTables(table1, table2)
|
||||||
local result = {}
|
local result = {}
|
||||||
for _, v in pairs(table1) do
|
for _, v in pairs(table1) do
|
||||||
table.insert(result, v)
|
table.insert(result, v)
|
||||||
|
|
Loading…
Add table
Reference in a new issue