scryfall-api
Toggle table of contents
1.0.2
js
Target filter
js
Switch theme
Search in API
Skip to content
scryfall-api
scryfall-api
/
devmugi.mtgcards.scryfall.js
/
CardFilterUtils
/
filterByType
filter
By
Type
js
fun
filterByType
(
cards
:
Array
<
Card
>
,
type
:
String
)
:
Array
<
Card
>
Filter cards by type line (e.g., "Creature", "Instant", "Dragon")