filterLegalIn

Filters cards that are legal in the specified format.

Return

List of cards legal in the format

Example:

val modernLegal = cards.filterLegalIn("modern")

Parameters

format

The format name (e.g., "standard", "modern", "commander")