( name: string, choices: Choice )
| 153 | * @since 4.0.0 |
| 154 | */ |
| 155 | export const choiceWithValue = <const Choice extends ReadonlyArray<readonly [string, any]>>( |
| 156 | name: string, |
| 157 | choices: Choice |
| 158 | ): Flag<Choice[number][1]> => Param.choiceWithValue(Param.flagKind, name, choices) |
| 159 | |
| 160 | /** |
| 161 | * Creates a flag that accepts one of the provided string choices and returns |
nothing calls this directly
no outgoing calls
no test coverage detected