MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / isExportAlias

Function isExportAlias

src/lualib-build/util.ts:16–20  ·  view source on GitHub ↗
(
    node: tstl.Node
)

Source from the content-addressed store, hash-verified

14}
15
16export function isExportAlias(
17 node: tstl.Node
18): node is tstl.VariableDeclarationStatement & { right: [ExportTableIndex] } {
19 return tstl.isVariableDeclarationStatement(node) && node.right !== undefined && isExportTableIndex(node.right[0]);
20}
21
22export type ExportAssignment = tstl.AssignmentStatement & { left: [ExportTableIndex] };
23export function isExportAssignment(node: tstl.Node): node is ExportAssignment {

Callers 1

lualibFileVisitorMethod · 0.90

Calls 1

isExportTableIndexFunction · 0.85

Tested by

no test coverage detected