opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
10 lines • 357 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isHash = void 0;
const isHex_js_1 = require("../data/isHex.js");
const size_js_1 = require("../data/size.js");
function isHash(hash) {
return (0, isHex_js_1.isHex)(hash) && (0, size_js_1.size)(hash) === 32;
}
exports.isHash = isHash;
//# sourceMappingURL=isHash.js.map
;