Edgewise API
    Preparing search index...

    Function choice

    • Pick one of up to 255 named options. The answer's choice is typed as your keys.

      Type Parameters

      • K extends string

      Parameters

      • options: Record<K, string>
      • opts: Omit<ChoiceQuestion<NoInfer<K>>, "kind" | "options"> = {}

      Returns ChoiceQuestion<K>