PossibleChoiceOptionstype

ImmutableArray<K> | ChoiceOptions<K>
Type
ImmutableArray
Immutable array: an array that cannot be changed.
ChoiceOptions
Dictionary of allowed options for a ChoiceSchema in { key: title } format.

Things that can be converted to a ChoiceOptions dictionary.

  • Dictionary of string options in { key: title } format.
  • Array of string options in [key] format (key is used as the title too).