Skip to content

Group.SearchCard ​

Source Code | Usage Examples | Group Functions

Gets the first card found in a group (Group g) which f(c,...) returns true. Function f accepts at least one parameter (f(c,...), with c as each member of the group), and must return a boolean.

Signature ​

Group.SearchCard(Group g, function f, any ...) → Card

lua
g:SearchCard(f,...)

Parameters ​

Returns ​


under-construction