Skip to content

Group.Remove

Source Code | Group Functions

Removes members of a group (Group g) that meets the function (function f). Excludes a card (Card ex) from removal 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. Returns the group g.

Signature

Group.Remove(Group g, function f, Group|Card|nil ex, any ...) → Group

lua
g:Remove(f,ex,...)

Parameters

Returns


under-construction