mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 14:57:56 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isCodec = isCodec;
|
||||
const helpers_js_1 = require("./helpers.js");
|
||||
const checkCodec = /*#__PURE__*/ (0, helpers_js_1.isOnObject)('toHex', 'toHuman', 'toU8a');
|
||||
const checkRegistry = /*#__PURE__*/ (0, helpers_js_1.isOnObject)('get');
|
||||
function isCodec(value) {
|
||||
return checkCodec(value) && checkRegistry(value.registry);
|
||||
}
|
||||
Reference in New Issue
Block a user