Skip to main content Link Search Menu Expand Document Toggle dark mode Copy Code (external link)
paperwork.help

Operator Symbol : Operator Name


On this page

Summary

Brief description of what this operator does.

Syntax

{{operand1 operator operand2}}

Operands

Position Type Description
Left Type Description of left operand
Right Type Description of right operand

Returns

Description of what the operator returns.


Examples

Basic Usage

{{5 operator 3}}
<!-- Output: result -->

With Variables

<p>Result: {{model.value1 operator model.value2}}</p>

Data:

builder.WithData("model", new {
    value1 = 10,
    value2 = 5
});

Output:

<p>Result: 15</p>

In Conditional

{{#if model.score operator threshold}}
  <span>Condition met</span>
{{/if}}

Precedence

Priority level in expression evaluation (1 = highest, 10 = lowest): N


Notes

  • Type conversion behavior
  • Edge cases
  • Common uses

See Also