Sum Modifier#
Returns the sum of all items in an array, optionally specified by a specific key.
numbers:- 5- 10- 20- 40stats:- player: Luke Skywalkerscore: 750- player: Wedge Antillesscore: 688- player: Jar Jar Binksscore: 1425yamlyaml
{{ numbers | sum }}{{ stats | sum('score') }}antlersantlers
752863htmlhtml
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page