.first
throws an error if used with less than 2 values
#26
Labels
enhancement
New feature or request
.first
throws an error if used with less than 2 values
#26
I have a dinamically set array of env variables which I pass to
.first
. Having this limitation makes me check for the length of the array and use.get
if there is only a single element.What is the reason behind this limitation? Is it something that we stop throwing this error, or at least make it configurable?
PS.: thanks for your awesome lib 👍
The text was updated successfully, but these errors were encountered: