Skip to main content

at_most

number | at_most
returns number

Limits a number to a maximum value.

{{ 6 | at_most: 5 }}
{{ 4 | at_most: 5 }}

Output

5
4
Was this page helpful?