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

Function integer

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

Source from the content-addressed store, hash-verified

440 * @since 4.0.0
441 */
442export const integer = <const Kind extends ParamKind>(
443 kind: Kind,
444 name: string
445): Param<Kind, number> =>
446 makeSingle({
447 name,
448 primitiveType: Primitive.integer,
449 kind
450 })
451
452/**
453 * Creates a floating-point number parameter.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected