mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 20:21:01 +00:00
1 line
1.9 KiB
Plaintext
1 line
1.9 KiB
Plaintext
{"dependencies":[{"name":"../is/hex.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}],"key":"FRvNFhyKsGuWVMufkKejTO9l7S0=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.hexHasPrefix = hexHasPrefix;\n var _isHexJs = require(_dependencyMap[0], \"../is/hex.js\");\n /**\n * @name hexHasPrefix\n * @summary Tests for the existence of a `0x` prefix.\n * @description\n * Checks for a valid hex input value and if the start matched `0x`\n * @example\n * <BR>\n *\n * ```javascript\n * import { hexHasPrefix } from '@polkadot/util';\n *\n * console.log('has prefix', hexHasPrefix('0x1234')); // => true\n * ```\n */\n function hexHasPrefix(value) {\n return !!value && (0, _isHexJs.isHex)(value, -1);\n }\n});","lineCount":26,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"hexHasPrefix"],[7,22,16,0],[7,25,16,0,"hexHasPrefix"],[7,37,16,0],[8,2,1,0],[8,6,1,0,"_isHexJs"],[8,14,1,0],[8,17,1,0,"require"],[8,24,1,0],[8,25,1,0,"_dependencyMap"],[8,39,1,0],[9,2,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,2,16,7],[23,11,16,16,"hexHasPrefix"],[23,23,16,28,"hexHasPrefix"],[23,24,16,29,"value"],[23,29,16,34],[23,31,16,36],[24,4,17,4],[24,11,17,11],[24,12,17,12],[24,13,17,13,"value"],[24,18,17,18],[24,22,17,22],[24,26,17,22,"isHex"],[24,34,17,27],[24,35,17,27,"isHex"],[24,40,17,27],[24,42,17,28,"value"],[24,47,17,33],[24,49,17,35],[24,50,17,36],[24,51,17,37],[24,52,17,38],[25,2,18,0],[26,0,18,1],[26,3]],"functionMap":{"names":["<global>","hexHasPrefix"],"mappings":"AAA;OCe;CDE"},"hasCjsExports":false},"type":"js/module"}]} |