Table.flatten: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 September 2025

  • curprev 10:1210:12, 5 September 2025IManGaaX talk contribs 1,751 bytes +1,751 Created page with "{{Useful Function}} __NOTOC__ <lowercasetitle></lowercasetitle> This function converts a nested table into a flattened table with concatenated keys. {{Note|This function recursively traverses all nested subtables and creates a new table where keys represent the original hierarchy using dot notation.}} ==Syntax== <syntaxhighlight lang="lua">table table.flatten( table t, [ string prefix = "" ] )</syntaxhighlight> ===Required Arguments=== * '''t''': the nested table to f..."