Skip to content

Group.IsExists

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

Returns


under-construction