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
/
CardColorUtils
/
hasColor
has
Color
js
fun
hasColor
(
card
:
Card
,
color
:
String
)
:
Boolean
Returns true if the card contains the specified color (W, U, B, R, G)