温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/util/ParseArgsOptionDescriptor/default
点击访问原文链接

property default | Node.js util module | Bun

property default | Node.js util module | BunBuildDocsReferenceGuidesBlogDiscord/node:util/ParseArgsOptionDescriptor/defaultPdefault

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:util/ParseArgsOptionDescriptor/defaultPdefault

property

util.ParseArgsOptionDescriptor.defaultdefault?: string | boolean | string[] | boolean[]

The value to assign to the option if it does not appear in the arguments to be parsed. The value must match the type specified by the type property. If multiple is true, it must be an array. No default value is applied when the option does appear in the arguments to be parsed, even if the provided value is falsy.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property default | Node.js util module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    The value to assign to the option if it does not appear in the arguments to be parsed. The value must match the type specified by the `type` property. If `multiple` is `true`, it must be an array. No default value is applied when the option does appear in the arguments to be parsed, even if the provided value is falsy.