mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
{"dependencies":[],"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.isError = isError;\n /**\n * @name isError\n * @summary Tests for a `Error` object instance.\n * @description\n * Checks to see if the input object is an instance of `Error`.\n * @example\n * <BR>\n *\n * ```javascript\n * import { isError } from '@polkadot/util';\n *\n * console.log('isError', isError(new Error('message'))); // => true\n * ```\n */\n function isError(value) {\n return (value && value.constructor) === Error || value instanceof Error;\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"isError"],[7,17,15,0],[7,20,15,0,"isError"],[7,27,15,0],[8,2,1,0],[9,0,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,2,15,7],[22,11,15,16,"isError"],[22,18,15,23,"isError"],[22,19,15,24,"value"],[22,24,15,29],[22,26,15,31],[23,4,16,4],[23,11,16,13],[23,12,16,14,"value"],[23,17,16,19],[23,21,16,23,"value"],[23,26,16,28],[23,27,16,29,"constructor"],[23,38,16,40],[23,44,16,46,"Error"],[23,49,16,51],[23,53,17,8,"value"],[23,58,17,13],[23,70,17,25,"Error"],[23,75,17,30],[24,2,18,0],[25,0,18,1],[25,3]],"functionMap":{"names":["<global>","isError"],"mappings":"AAA;OCc;CDG"},"hasCjsExports":false},"type":"js/module"}]} |