Group.IsExists
Source Code | Usage Examples | Group Functions
Checks if at least a number (int count) of members of a group (Group g) meet 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.IsExists(Group g, function f, int count, Group|Card|nil ex, any ...) → bool
lua
g:IsExists(f,count,ex,...)Parameters
Group
g(To be added)
function
f(To be added)
int
count(To be added)
Group|Card|nil
ex(To be added)
any
...(To be added)