Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
⚠️ We have a new website! Visit now for the most update to date documentation. This wiki is no longer being maintained.
Merge two lists into an array of objects containing pairs of values, one from each list.
table.fold(arr1, arr2)
arr1 and arr2 are tables containing indexed values.
arr1
arr2
A new array of objects containing the corresponding elements from each list.
Premake 5.0 or later.
-- returns { {"A","X"}, {"B","Y"}, {"C","Z"} } table.fold({ "A", "B", "C" }, { "X", "Y", "Z" }) -- returns { {"A","X"}, {"B","Y"}, {"C"} } table.fold({ "A", "B", "C" }, { "X", "Y" })