is Legal In
Checks if this card is legal in the specified format.
Return
true if the card is legal in the format, false otherwise
Example:
val card = scryfall.cards.namedExact("Lightning Bolt")
if (card.isLegalIn("modern")) {
println("Legal in Modern!")
}Content copied to clipboard
Parameters
format
The format name (e.g., "standard", "modern", "commander")