Skip to main content

Expressions and Types

You can think of NQE Checks as queries. Each query is actually an expression. There are many kinds of expressions, which we’ll detail in the following sections. You have already seen some examples in the sections above, for example foreach ... select ... expressions.

Each expression has a value and a type. The value of the expression is the result produced by the expression. For example, the expression 12 + 13 has value 25. The type of an expression describes the kind of value produced by an expression. For example, the type of the expression 12 + 13 is number. As we describe the forms of expressions below, we’ll describe the type of each expression form.