Skip to content

xray16/macros

Functions

FunctionDescription
$fromArrayTreat a TypeScript array as a Lua array.
$fromLuaArrayTreat a Lua array as a TypeScript array.
$fromLuaTableTreat a Lua table as a TypeScript object.
$fromObjectTreat a TypeScript object as a Lua table.
$inlineForce compile-time inlining of the wrapped call or constant expression.
$isNilCheck whether a value is nil-compatible in Lua and Jest runtimes.
$isNotNilCheck whether a value is not nil-compatible in Lua and Jest runtimes.
$noInlineSuppress compile-time inlining of the wrapped call or reference.

Variables

VariableDescription
$dirnameCurrent source directory name.
$filenameCurrent source file name.