isLegal

fun isLegal(format: String)

Filters by cards that are legal in a specific format.

Example: isLegal("modern") produces legal:modern

Parameters

format

The format name (standard, modern, legacy, vintage, commander, etc.)