Group.GetSum
Source Code | Usage Examples | Group Functions
Gets the sum of f(c,...) result from all members of a group (Group g). Function f accepts at least one parameter (f(c,...), with c as each member of the group), and the return value should be integer.
Signature
Group.GetSum(Group g, function f, any ...) → int
lua
g:GetSum(f,...)