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

Function optional

packages/effect/src/unstable/cli/Argument.ts:318–318  ·  view source on GitHub ↗
(arg: Argument<A>)

Source from the content-addressed store, hash-verified

316 * @since 4.0.0
317 */
318export const optional = <A>(arg: Argument<A>): Argument<Option.Option<A>> => Param.optional(arg)
319
320/**
321 * Adds a description to a positional argument.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected