at_most

Filter = at_most

Limits a number to a maximum value.

INPUT

OUTPUT

{{ 4 | at_most: 5 }}

4

INPUT

OUTPUT

{{ 4 | at_most: 3 }}

3