mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
docs(helpers/isAxiosError)
This commit is contained in:
@@ -6,6 +6,7 @@ var utils = require('./../utils');
|
|||||||
* Determines whether the payload is an error thrown by Axios
|
* Determines whether the payload is an error thrown by Axios
|
||||||
*
|
*
|
||||||
* @param {*} payload The value to test
|
* @param {*} payload The value to test
|
||||||
|
*
|
||||||
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
||||||
*/
|
*/
|
||||||
module.exports = function isAxiosError(payload) {
|
module.exports = function isAxiosError(payload) {
|
||||||
|
|||||||
Reference in New Issue
Block a user