filter Legal In
Filters cards that are legal in the specified format.
Return
List of cards legal in the format
Example:
val modernLegal = cards.filterLegalIn("modern")Content copied to clipboard
Parameters
format
The format name (e.g., "standard", "modern", "commander")