Group
Functions for working with card groups. This is also used as the metatable for groups. This means functions in this namespace can be used as "methods" of group objects, e.g. instead of Group.GetFirst(g)
, one can use g.GetFirst(g)
or g:GetFirst()
. It is recommended to use the colon syntax.
Functions
Group.CreateGroup
- Alias ofGroup.FromCards
.Group.Filter
- Filters aGroup
.Group.FromCards
- Creates a new Group object containing the given cards.