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

Function float

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

Source from the content-addressed store, hash-verified

471 * @since 4.0.0
472 */
473export const float = <const Kind extends ParamKind>(
474 kind: Kind,
475 name: string
476): Param<Kind, number> =>
477 makeSingle({
478 name,
479 primitiveType: Primitive.float,
480 kind
481 })
482
483/**
484 * Creates a date parameter that parses ISO date strings.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected