Tables
Table Datatypes represent a luau table.
A big advantage to light as a library is that all Datatypes which directly represent a table can be
defined easily with lua table syntax and used almost anywhere in the library. For more info, see
datatypes.cached()
.
Arrays datatypes.arr()
Maps datatypes.map()
Structs datatypes.struct()
-
Struct Merging
Because of this design, merging structs together is as simple as writing yourself a table_merge utility:
struct_merge.luau