• Check if the given string is a valid hex string. Throws an error if not.

    Parameters

    • maybeHex: string

    Returns Hex