Files

6 lines
229 B
TypeScript
Raw Permalink Normal View History

2026-05-03 12:12:57 -04:00
/**
* 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;