Function: atMost()
atMost(
this
,left
,arg
):NumberT
Return the minimum of the filter's input value and its argument. If either input value or argument are string representations of an integer or float, they will be cast to an integer or float prior to comparison.
If either input value or argument can not be cast to an integer or float,
0
will be used instead.
Parameters
• this: FilterContext
An object containing a reference to the active render context and any keyword/named arguments.
• left: unknown
Any value. If it can't be converted to a number, zero will be used instead.
• arg: unknown
Any value. If it can't be converted to a number, zero will be used instead.
Returns
The minimum of the input value and the argument value.