mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +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
|
||||
*
|
||||
* @param {*} payload The value to test
|
||||
*
|
||||
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
||||
*/
|
||||
module.exports = function isAxiosError(payload) {
|
||||
|
||||
Reference in New Issue
Block a user