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

Function isExportTableIndex

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

Source from the content-addressed store, hash-verified

10
11export type ExportTableIndex = tstl.TableIndexExpression & { index: tstl.StringLiteral };
12export function isExportTableIndex(node: tstl.Node): node is ExportTableIndex {
13 return tstl.isTableIndexExpression(node) && isExportTable(node.table) && tstl.isStringLiteral(node.index);
14}
15
16export function isExportAlias(
17 node: tstl.Node

Callers 2

isExportAliasFunction · 0.85
isExportAssignmentFunction · 0.85

Calls 1

isExportTableFunction · 0.85

Tested by

no test coverage detected