Skip to content

Conversation

@Jacob3075
Copy link
Contributor

Fixes #595

* ```
*/
fun RawArgument.choice(
choices: List<String>,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's accept Iterable<String> in these overloads, since that's what associateBy accepts

@ajalt ajalt merged commit cdb0441 into ajalt:master May 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow passing list/array to choice type

2 participants