UNPKG

@open-web3/api-mobx

Version:
17 lines (12 loc) 486 B
"use strict"; exports.__esModule = true; exports.isCompactEncodable = isCompactEncodable; var _UInt = require("@polkadot/types/codec/UInt"); var _util = require("@polkadot/util"); // Copyright 2017-2020 @polkadot/typegen authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. /** @internal */ function isCompactEncodable(Child) { return (0, _util.isChildClass)(_UInt.UInt, Child); }