Function isValidDidVerificationType

  • Type guard checking whether the provided input string represents one of the supported signing or encryption verification types.

    Parameters

    • input: string

      The input string.

    Returns input is "ed25519" | "sr25519" | "ecdsa"

    Whether the input string is an instance of DidSigningMethodType.