mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 11:27:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { isOnObject } from './helpers.js';
|
||||
const checkCodec = /*#__PURE__*/ isOnObject('toHex', 'toHuman', 'toU8a');
|
||||
const checkRegistry = /*#__PURE__*/ isOnObject('get');
|
||||
export function isCodec(value) {
|
||||
return checkCodec(value) && checkRegistry(value.registry);
|
||||
}
|
||||
Reference in New Issue
Block a user