UNPKG

@yoroi/banxa

Version:

The Banxa integration package of Yoroi SDK

8 lines (5 loc) 255 B
export type BanxaFiatType = 'USD' | 'EUR' const supportedFiatTypes: Readonly<BanxaFiatType[]> = ['USD', 'EUR'] as const export function banxaIsFiatType(value: any): value is BanxaFiatType { return supportedFiatTypes.includes(value as BanxaFiatType) }