Skip to main content
isMainThread - worker_threads - Node documentation
variable isMainThread

Usage in Deno

import { isMainThread } from "node:worker_threads";

Type

boolean
Back to top