ez.no / exponential / documentation / reference / template operators / logic / lt
$input_number|lt( value )
| Name | Type | Description | Required |
|---|---|---|---|
| value | number | Value to be compared with input. | Yes. |
Boolean.
This operator compares the input and the first parameter. It returns true if the input value is less than the first parameter. Otherwise false is returned.
Example 1
{128|lt( 256 )}
returns true.
Example 2
{256|lt( 128 )}
returns false.
Example 3
{256|lt( 256 )}
returns false.
Comments