SetMetadataUtils

Utility functions for accessing Set metadata properties.

Usage:

import { SetMetadataUtils } from '@devmugi/scryfall-api';

const cardCount = SetMetadataUtils.getCardCount(set);

Functions

Link copied to clipboard
fun getCardCount(set: Set): Int
Link copied to clipboard
fun getIconSvgUri(set: Set): String
Link copied to clipboard
fun getParentSetCode(set: Set): String?
Link copied to clipboard
fun getPrintedSize(set: Set): Int?
Link copied to clipboard
fun getScryfallUri(set: Set): String
Link copied to clipboard
fun getSearchUri(set: Set): String
Link copied to clipboard
fun getUri(set: Set): String
Link copied to clipboard
fun isDigital(set: Set): Boolean
Link copied to clipboard
fun isFoilOnly(set: Set): Boolean
Link copied to clipboard
fun isNonfoilOnly(set: Set): Boolean