isMainThread

VisMainThread
Bun

Symbol

isMainThread

const isMainThread: boolean

Is the current global scope the main thread?