@shogun-sdk/money-legos
Version:
Shogun Money Legos: clients and types for quotes, memes, prices, balances, fees, validations, etc.
13 lines • 331 B
JavaScript
export function compareStrings(a, b) {
if (typeof a !== 'string' || typeof b !== 'string') {
return false;
}
return a.toLowerCase() === b.toLowerCase();
}
export function isSpotAsset(asset) {
if (!asset) {
return false;
}
return asset.includes('-SPOT');
}
//# sourceMappingURL=helpers.js.map