mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
1 line
1.1 KiB
JSON
1 line
1.1 KiB
JSON
|
{"ast":null,"code":"'use strict';\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\n\nmodule.exports = function isAxiosError(payload) {\n return typeof payload === 'object' && payload.isAxiosError === true;\n};","map":{"version":3,"sources":["/app/node_modules/axios/lib/helpers/isAxiosError.js"],"names":["module","exports","isAxiosError","payload"],"mappings":"AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;;AACAA,MAAM,CAACC,OAAP,GAAiB,SAASC,YAAT,CAAsBC,OAAtB,EAA+B;AAC9C,SAAQ,OAAOA,OAAP,KAAmB,QAApB,IAAkCA,OAAO,CAACD,YAAR,KAAyB,IAAlE;AACD,CAFD","sourcesContent":["'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n"]},"metadata":{},"sourceType":"script"}
|