PackwizJS/docs/enums/hash-format/functions/isValidHashFormat.md
2025-02-09 10:14:11 -06:00

537 B

packwizjs


packwizjs / enums/hash-format / isValidHashFormat

Function: isValidHashFormat()

isValidHashFormat(hashFormat): HashFormat

Defined in: enums/hash-format.ts:17

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.