Share via


Conditional expression - operators

Conditional expression operators provide control flow and conditional logic in expressions.

Description
$cond The $cond operator is used to evaluate a condition and return one of two expressions based on the result.
$ifNull The $ifNull operator is used to evaluate an expression and return a specified value if the expression resolves to null.
$switch The $switch operator is used to evaluate a series of conditions and return a value based on the first condition that evaluates to true.