UNPKG

emmet.sdk

Version:
11 lines 355 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isHexString = void 0; function isHexString(s) { if (!s || typeof s !== 'string') return false; const hexadecimalRegex = /^0x[0-9A-Fa-f]+$/g; return hexadecimalRegex.test(s); } exports.isHexString = isHexString; //# sourceMappingURL=isHexString.js.map