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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From https://cuelang.slack.com/archives/C012UU8B72M/p1722546097853739 and https://cuelang.slack.com/archives/CLT4FD7KP/p1723217773394319.
Other potential titles might include "How to write an if/else-if/else-if switch in CUE", but that's not great either.
#res: { #x: int [ if #x > 5 { "big number"}, "small number", ][0] } r1: #res & {#x: 5, _} r2: #res & {#x: 6, _}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From https://cuelang.slack.com/archives/C012UU8B72M/p1722546097853739 and https://cuelang.slack.com/archives/CLT4FD7KP/p1723217773394319.
Other potential titles might include "How to write an if/else-if/else-if switch in CUE", but that's not great either.
The text was updated successfully, but these errors were encountered: