UNPKG

is-what

Version:

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.

6 lines (5 loc) 229 B
/** * 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;