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

Function date

packages/effect/src/unstable/cli/Param.ts:505–513  ·  view source on GitHub ↗
(
  kind: Kind,
  name: string
)

Source from the content-addressed store, hash-verified

503 * @since 4.0.0
504 */
505export const date = <const Kind extends ParamKind>(
506 kind: Kind,
507 name: string
508): Param<Kind, Date> =>
509 makeSingle({
510 name,
511 primitiveType: Primitive.date,
512 kind
513 })
514
515/**
516 * Constructs command-line params that represent a choice between several

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected