# ? operator

Source: https://ref.dm-lang.org/operator/query

### Format
> `Expr ? TrueExpr : FalseExpr`

If Expr is true, this evaluates and returns TrueExpr. Otherwise, it evaluates and returns FalseExpr.

### See also
> [operators](https://ref.dm-lang.org/operator/index.md)
