@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
14 lines (13 loc) • 457 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const amount_1 = __importDefault(require("./amount"));
function parseCurrencyAmount(amount) {
if (amount === undefined) {
return undefined;
}
return (0, amount_1.default)(amount);
}
exports.default = parseCurrencyAmount;
;