mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-10-23 10:13:13 +02:00
5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
|
// Script helper functions
|
||
|
export function isScriptFilename(f: string) {
|
||
|
return f.endsWith(".js") || f.endsWith(".script") || f.endsWith(".ns");
|
||
|
}
|