filter By Type
Filters cards by type line.
Return
List of cards whose type line contains the specified type
Example:
val creatures = cards.filterByType("Creature")
val dragons = cards.filterByType("Dragon")Content copied to clipboard
Parameters
type
The type to filter by (e.g., "Creature", "Instant", "Dragon")