effect-io-ai

Package: @effect/cli
Module: Primitive

Primitive.getChoices

Returns a text representation of the valid choices for a primitive type, if any.

Signature

declare const getChoices: <A>(self: Primitive<A>) => Option<string>

Source

Since v1.0.0