6 lines
229 B
TypeScript
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;
|