isWebAuthnError

Type guard to check if an error is a WebAuthnError.

function isWebAuthnError(error: unknown): error is WebAuthnError;
§
isWebAuthnError(error: unknown): error is WebAuthnError
[src]

§Parameters

§
error: unknown
[src]
  • The error to check

§Return Type

§

True if the error is a WebAuthnError