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

Function getChoiceKeys

packages/effect/src/unstable/cli/Primitive.ts:987–988  ·  view source on GitHub ↗
(primitive: Primitive<unknown>)

Source from the content-addressed store, hash-verified

985
986/** @internal */
987export const getChoiceKeys = (primitive: Primitive<unknown>): ReadonlyArray<string> | undefined =>
988 primitive._tag === "Choice" ? (primitive as any).choiceKeys : undefined
989
990/** @internal */
991export const getPathType = (primitive: Primitive<unknown>): PathType | undefined =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected