Module

std/node/cluster.ts>isWorker

Deno standard library
Go to Latest
variable isWorker
import { isWorker } from "https://dotland.deno.dev/std@0.145.0/node/cluster.ts";

True if the process is not a primary (it is the negation of cluster.isPrimary).