xray16/macros
Functions
| Function | Description |
|---|---|
| $fromArray | Treat a TypeScript array as a Lua array. |
| $fromLuaArray | Treat a Lua array as a TypeScript array. |
| $fromLuaTable | Treat a Lua table as a TypeScript object. |
| $fromObject | Treat a TypeScript object as a Lua table. |
| $inline | Force compile-time inlining of the wrapped call or constant expression. |
| $isNil | Check whether a value is nil-compatible in Lua and Jest runtimes. |
| $isNotNil | Check whether a value is not nil-compatible in Lua and Jest runtimes. |
| $noInline | Suppress compile-time inlining of the wrapped call or reference. |
Variables
| Variable | Description |
|---|---|
| $dirname | Current source directory name. |
| $filename | Current source file name. |