Group.Filter
Source Code | Usage Examples | Group Functions
Creates a new Group with Cards from an original Group that pass a CardFilter.
Signature
Group.Filter(Group g, CardFilter filter, Group|Card|nil exc, any ...) → Group
lua
g:Filter(filter,exc,...)Parameters
Group
gThe
Groupto filter.CardFilter
filterThe function that must return
truefor aCardto be part of the newGroup.Group|Card|nil
excThe
Cards to be excluded from the newGroup.any
...Additional arguments that will be passed to
filter.