Returns the maximum value of a given key
{{ [1,2,3]|array_max }} {# 3 #} {{ [{foo: 1}, {bar: 20}, {foo: 5}]|array_max('foo') }} {# 5 #}