export function isValidHex(value) {
    let validHex = false;
    let numLength = value.length;
    let parsedNum = parseInt(value, 16);
    // @ts-ignore
    if (!isNan(parsedNum) && parsedNum.length === numLength) {
        validHex = true;
    }
    return validHex;
}
//# sourceMappingURL=is_valid_hex.js.map