@jsvision/ui / select
Function: select()
select(
parameter,cases):SelectMessage
Defined in: i18n/dist/messages.d.ts:151
Create the exact JSON representation of an exact select message.
Parameters
parameter
string
Safe primitive controller name.
cases
Exact cases with other.
Returns
Frozen copied select message.
Example
ts
select('state', { ready: 'Ready', other: 'Unknown' });