ctrl + k
On This Page
Conditional Helpers
Conditionals
Control Structures
Templates support common control structures like if
, elseif
and else
to handle branching paths in your template.
Conditional Helpers
For a full list of comparators view the dedicated section on comparison helpers
Existence
You can use exists
and isEmpty
to handle value existence. Values are checked against the isEmpty
utility.
Equality
You can use is
not
, isExactly
and isNotExactly
helpers to compare values
Exactly helpers use
===
comparison whileis
andnot
use==
Comparisons
You can use greaterThan
, lessThan
, greaterThanEquals
, lessThanEquals
to compare numeric values