Skip to main content
ParseArgsOptionConfig.default - util - Node documentation
property ParseArgsOptionConfig.default

Usage in Deno

import { type ParseArgsOptionConfig } from "node:util";

The default option value when it is not set by args. It must be of the same type as the the type property. When multiple is true, it must be an array.

Type

string
| boolean
| string[]
| boolean[]
| undefined
Back to top