Card Type Utils
object CardTypeUtils
Utility functions for card type checking.
Usage:
import { CardTypeUtils } from '@devmugi/scryfall-api';
if (CardTypeUtils.isCreature(card)) {
console.log('Power:', card.power);
}Content copied to clipboard