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

Function boolean

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

Source from the content-addressed store, hash-verified

409 * @since 4.0.0
410 */
411export const boolean = <const Kind extends ParamKind>(
412 kind: Kind,
413 name: string
414): Param<Kind, boolean> =>
415 makeSingle({
416 name,
417 primitiveType: Primitive.boolean,
418 kind
419 })
420
421/**
422 * Creates an integer parameter.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected