MCPcopy Index your code
hub / github.com/Effect-TS/effect / date

Function date

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

Source from the content-addressed store, hash-verified

197
198/** @internal */
199export const date = (config?: Args.Args.BaseArgsConfig): Args.Args<globalThis.Date> =>
200 makeSingle(Option.fromNullable(config?.name), InternalPrimitive.date)
201
202/** @internal */
203export const directory = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected