MCPcopy
hub / github.com/webpack/webpack / _isHexDigit

Function _isHexDigit

lib/css/syntax.js:310–313  ·  view source on GitHub ↗
(cc)

Source from the content-addressed store, hash-verified

308 * @returns {boolean} true, if cc is a hex digit
309 */
310const _isHexDigit = (cc) =>
311 _isDigit(cc) ||
312 (cc >= CC_UPPER_A && cc <= CC_UPPER_F) ||
313 (cc >= CC_LOWER_A && cc <= CC_LOWER_F);
314
315/**
316 * @param {number} cc char code

Callers 1

Calls 1

_isDigitFunction · 0.85

Tested by

no test coverage detected