MCPcopy Index your code
hub / github.com/Effect-TS/effect / getChoices

Function getChoices

packages/cli/src/internal/primitive.ts:227–228  ·  view source on GitHub ↗
(self: Primitive.Primitive<A>)

Source from the content-addressed store, hash-verified

225
226/** @internal */
227export const getChoices = <A>(self: Primitive.Primitive<A>): Option.Option<string> =>
228 getChoicesInternal(self as Instruction)
229
230/** @internal */
231export const getHelp = <A>(self: Primitive.Primitive<A>): Span.Span => getHelpInternal(self as Instruction)

Callers

nothing calls this directly

Calls 1

getChoicesInternalFunction · 0.85

Tested by

no test coverage detected