Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blockmatic/basilic
/ isMainModule
Function
isMainModule
apps/api/scripts/seed.ts:45–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
function
isMainModule(): boolean {
46
const
entry = process.argv[1]
47
if
(!entry)
return
false
48
return
resolve(entry) === scriptFile
49
}
50
51
async
function
main(): Promise<void> {
52
try {
Callers
1
seed.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected