class Liquid::Filters::AtLeast

Overview

Filter at_least

Limits a number to a minimum value.

{{ 4 | at_least: 5 }} => 5

{{ 4 | at_least: 3 }} => 4

Extended Modules

Defined in:

liquid/filters/at_least.cr

Class Method Summary

Class Method Detail

def self.filter(data : Any, args : Array(Any), options : Hash(String, Any)) : Any #

[View source]