MCPcopy Index your code
hub / github.com/Ransomwave/azul / isScriptFileName

Function isScriptFileName

src/util/scriptFile.ts:22–24  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

20}
21
22export function isScriptFileName(fileName: string): boolean {
23 return fileName.endsWith(".lua") || fileName.endsWith(".luau");
24}
25
26export function isInstanceJsonName(fileName: string): boolean {
27 return fileName.endsWith(".model.json")

Callers 7

walkMethod · 0.85
walkMethod · 0.85
buildMethod · 0.85
parseModelNodeMethod · 0.85
emitNodeMethod · 0.85
walkDirectoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected