Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

List of one or more elements? #835

Answered by eonpatapon
NReilingh asked this question in Q&A
Discussion options

You must be logged in to vote

For minimum items in a list you can also express it like this:

l: [string, string, ...string]

Where l should be a list of at least 2 string values.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NReilingh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants