We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
caseof
A thought: How about instead of:
caseof(value, [ [C, C2, (c) => c], [D, (d) => null] ])
also (or exclusively) allowing a imho much nicer:
caseof(value, C, C2, (c) => c, D, (d) => null )
The text was updated successfully, but these errors were encountered:
I like the first version. Feel free to open a PR
The second one is probably hard to parse and also (in my subjective oppinion) harder to read. So we will not add it.
Sorry, something went wrong.
No branches or pull requests
A thought: How about instead of:
also (or exclusively) allowing a imho much nicer:
The text was updated successfully, but these errors were encountered: