@airgap/etherlink
Version:
The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.
13 lines • 378 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAmount = void 0;
var interface_1 = require("./interface");
var amountSchema = {
value: 'required',
unit: 'required'
};
function isAmount(object) {
return (0, interface_1.implementsInterface)(object, amountSchema);
}
exports.isAmount = isAmount;
//# sourceMappingURL=amount.js.map