Skip to content

1681-engine / react / firstChoice

Function: firstChoice() ​

ts
function firstChoice(options): string | null;

Defined in: src/react/choiceStore.ts:47

The option picked first: the first one that can be taken.

Parameters ​

ParameterType
optionsreadonly ChoiceOption[]

Returns ​

string | null

Released under the MIT License.