tablex
Provides extended table manipulation functions beyond standard Lua table operations.
Registered as `tablex` global.
| Function |
|---|
managed(): ManagedTablemanaged(data: table): ManagedTable |
Creates a managed table.
Managed tables are observable, read-writable key-value maps.
They are no longer considered a table and cannot be used in table-specific functions. |
find(tbl: table, value: any): any | nil |
Finds the key of the first occurrence of a value in a table.
Returns the key if found, otherwise returns nil. |
tostring(tbl: table | ManagedTable): string |
Converts a table to a string representation for debugging.
Handles nested tables and various data types. |