export function isAbortError(err) {
    if (!(err instanceof Error)) {
        return false;
    }
    return (err.name === 'AbortError' ||
        err.name === 'APIUserAbortError' ||
        /aborted/i.test(err.message));
}
//# sourceMappingURL=abort.js.map