Union.type readonly



Gets the type of the Union as a string.

Notes

Example

--! luart-extensions import c -- Defines a RECT Union local RECT = c.Union("iiii", "left", "top", "right", "bottom") -- Creates a new RECT local r = RECT() print("Type of RECT is "..RECT.type) print("Type of r is "..r.type)