Skip to main content
Cluster.isWorker - cluster - Node documentation
property Cluster.isWorker

Usage in Deno

import { type Cluster } from "node:cluster";

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

Type

boolean
Back to top