mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
506 B
506 B
| id | title |
|---|---|
| isCancelledError | isCancelledError |
function isCancelledError(value: any): value is CancelledError;
Defined in: packages/query-core/src/retryer.ts:136
Checks whether a value is a CancelledError.
Parameters
value
any
The value to check.
Returns
value is CancelledError
true if value is a CancelledError.
Deprecated
Use instanceof CancelledError instead.