MCPcopy Create free account
hub / github.com/Effect-TS/effect / boolean

Function boolean

packages/cli/src/internal/args.ts:190–191  ·  view source on GitHub ↗
(config?: Args.Args.BaseArgsConfig)

Source from the content-addressed store, hash-verified

188
189/** @internal */
190export const boolean = (config?: Args.Args.BaseArgsConfig): Args.Args<boolean> =>
191 makeSingle(Option.fromNullable(config?.name), InternalPrimitive.boolean(Option.none()))
192
193/** @internal */
194export const choice = <A>(

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected