isAbortError
isAbortError(
err
):boolean
Determines if an unknown value represents an AbortError.
Parameters
Section titled “Parameters”unknown
The value to inspect.
Returns
Section titled “Returns”boolean
true
if err
is an object with a name
property equal to “AbortError”.