Files
Library/node_modules/is-what/dist/isHexDecimal.d.ts
2026-01-09 23:05:52 -05:00

6 lines
229 B
TypeScript

/**
* Checks if a string is a valid hexadecimal string. If a length is provided, it also checks that
* the string has that length.
*/
export declare function isHexDecimal(payload: unknown, length?: number): payload is string;