Function checkSignatureFormat

  • Checks that the input matches the proper format for a signature, as given by SIGNATURE_REGEX.

    Parameters

    • signature: string

      the string to check

    Returns string

    the unmodified input, for easy chaining

    Throws

    TypeError if the format doesn't match

Generated using TypeDoc