본문으로 건너뛰기

isAbortError

Type guard function to check if the given error is an AbortError

Signature

const isAbortError: (error: unknown) => error is AbortError

Parameters

NameTypeDescription
error-The error object to check

Returns

Whether the error is an AbortError