• Checks if the provided hash format is allowed by Packwiz.

    Parameters

    • hashFormat: string

      The hash format to check.

    Returns HashFormat

    The HashFormat enum value if valid, otherwise throws an error.