0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/docs/framework/angular/reference/functions/isCancelledError.md

506 B

id title
isCancelledError isCancelledError
function isCancelledError(value: any): value is CancelledError;

Defined in: packages/query-core/src/retryer.ts:111

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.