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

Function string

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

Source from the content-addressed store, hash-verified

377 * @since 4.0.0
378 */
379export const string = <const Kind extends ParamKind>(
380 kind: Kind,
381 name: string
382): Param<Kind, string> =>
383 makeSingle({
384 name,
385 primitiveType: Primitive.string,
386 kind
387 })
388
389/**
390 * Creates a boolean parameter.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected