Skip to content

Group.FilterCount

Source Code | 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

Returns


under-construction