Group.FilterCount
Source Code | Usage Examples | Group Functions
Counts the amount of members of a group (Group g) which meets the function (function f). Excludes a card (Card ex) if not nil. Function f accepts at least one parameter (f(c,...), with c as each member of the group), and the card will be included if f(c,...) returns true.
Signature
Group.FilterCount(Group g, function f, Group|Card|nil ex, any ...) → int
lua
g:FilterCount(f,ex,...)Parameters
Group
g(To be added)
function
f(To be added)
Group|Card|nil
ex(To be added)
any
...(To be added)