PackwizJS/docs/enums/hash-format/functions/isValidHashFormat.md

28 lines
537 B
Markdown
Raw Normal View History

2025-02-09 10:00:02 -06:00
[**packwizjs**](../../../README.md)
***
[packwizjs](../../../modules.md) / [enums/hash-format](../README.md) / isValidHashFormat
# Function: isValidHashFormat()
> **isValidHashFormat**(`hashFormat`): [`HashFormat`](../enumerations/HashFormat.md)
2025-02-09 10:14:11 -06:00
Defined in: enums/hash-format.ts:17
Checks if the provided hash format is allowed by Packwiz.
2025-02-09 10:00:02 -06:00
## Parameters
### hashFormat
`string`
2025-02-09 10:14:11 -06:00
The hash format to check.
2025-02-09 10:00:02 -06:00
## Returns
[`HashFormat`](../enumerations/HashFormat.md)
2025-02-09 10:14:11 -06:00
The HashFormat enum value if valid, otherwise throws an error.