at_most

Limits a number to a maximum value.

Input
  • {{ 4 | at_most: 5 }}
Output
  • 5

Input
  • {{ 4 | at_most: 3 }}
Output
  • 3