Conditional

Condition

A function of the expression language. Category: Conditional. cond.

Function
cond
cond({ if: anyBooleanExpression, then: anyExpression, else: anyExpression })

Its result can be used where the editor expects a value of these types.

  • list
  • boolean
  • number
  • object
  • text

More in Functions.

Arguments

ifbooleanRequired

thenany valueRequired

elseany valueRequired

Was this page helpful?