Liquex.Filter.at_most

You're seeing just the function at_most, go back to Liquex.Filter module for more information.

Specs

at_most(number(), number(), map()) :: number()

Sets a maximum value

Examples

iex> Liquex.Filter.at_most(4, 5, %{})
4

iex> Liquex.Filter.at_most(4, 3, %{})
3

iex> Liquex.Filter.at_most("4", "3", %{})
3