Skip to Content
defold-typescript
Get startedGuidesAPILibraries
Global types

NonTable

The phantom brand of a value Lua does not hold as a plain table: engine userdata (vectors, matrices, hashes, URLs, handles), Lua file handles and functions.

The brand is an optional unique symbol property that exists only in the type system and is erased at transpile. PlainTable rejects any value that carries it, which is how an engine value is told apart from a value typed by an interface.