LiquidJS

TutorialsTagsFiltersPlaygroundAPI
Github
Overviewabsappendat_leastat_mostcapitalizeceildatedefaultdivided_bydowncaseescapeescape_oncefirstfloorjoinjsonlastlstripmapminusmodulonewline_to_brplusprependremoveremove_firstreplacereplace_firstreverseroundrstripsizeslicesortsort_naturalsplitstripstrip_htmlstrip_newlinestimestruncatetruncatewordsuniqupcaseurl_decodeurl_encodewhere

at_most

Limits a number to a maximum value.

Input

{{ 4 | at_most: 5 }}

Output

4

Input

{{ 4 | at_most: 3 }}

Output

3
Last updated: 2020-12-22 PrevNext
Contents
Back to Top
© 2020 Harttle
Documentation licensed under CC BY 4.0.
    TutorialsTagsFiltersPlaygroundAPI
  • GitHub
Overviewabsappendat_leastat_mostcapitalizeceildatedefaultdivided_bydowncaseescapeescape_oncefirstfloorjoinjsonlastlstripmapminusmodulonewline_to_brplusprependremoveremove_firstreplacereplace_firstreverseroundrstripsizeslicesortsort_naturalsplitstripstrip_htmlstrip_newlinestimestruncatetruncatewordsuniqupcaseurl_decodeurl_encodewhere
English