Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/cluster.ts>isWorker

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

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