Returns the smallest number from a list of numbers.
Declaration
-
JSON
{ "Fn::Min": [Number1, Number2, Number3, ..] } -
YAML
-
Syntax for the full function name:
Fn::Min: - Number1 - Number2 - Number3 - ... -
Syntax for the short form:
!Min [Number1, Number2, Number3, ...]
-
Return value
The smallest number in the list.
Examples
!Min [1.1, 2, 3]
This expression returns:
1.1