Today people at work were trying to write an if statement as if foo && bar {} instead of if foo if bar {} and I couldn't find an example in the docs that talks specifically about this.
Let's cover:
if foo
if bar if baz {
something
}
... and also:
if x>1 if y<10 if z==99 {
something
}
This demonstrates single-line and multi-line multiple-ifs, along with boolean primitives and inline conditions that evaluate to a boolean.
From https://cuelang.slack.com/archives/CLT3ULF6C/p1725544343237119:
Let's cover:
... and also:
This demonstrates single-line and multi-line multiple-ifs, along with boolean primitives and inline conditions that evaluate to a boolean.