Skip to content

Group.ForEach

Source Code | Usage Examples | Group Functions

Executes a function for each card in a group (Group g), function f should accept one parameter (e.g. f(c, ...), with c as each member of the group and ... can be any number of parameters)

Signature

Group.ForEach(Group g, function f, any ...) → nil

lua
g:ForEach(f,...)

Parameters


under-construction