Type guard to check if an unknown value is an AuthError instance.
Value to check.
true if error instanceof AuthError.
true
error instanceof AuthError
if (isAuthError(err)) { console.error(err.code);}@public Copy
if (isAuthError(err)) { console.error(err.code);}@public
0.1.1
Type guard to check if an unknown value is an AuthError instance.