UNPKG

axios

Version:

Promise based HTTP client for the browser and node.js

6 lines (4 loc) 102 B
'use strict'; module.exports = function isCancel(value) { return !!(value && value.__CANCEL__); };