MCPcopy
hub / github.com/webpack/webpack / _isWhiteSpace

Function _isWhiteSpace

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

Source from the content-addressed store, hash-verified

296// Space-first: U+0020 is the common case, so it short-circuits before the
297// rarer tab / newline tests.
298const _isWhiteSpace = (cc) => _isSpace(cc) || _isNewline(cc);
299
300/**
301 * @param {number} cc char code

Callers 6

consumeSpaceFunction · 0.85
consumeAUrlTokenFunction · 0.85
consumeAnIdentLikeTokenFunction · 0.85
syntax.jsFile · 0.85
declarationStartLikelyFunction · 0.85

Calls 2

_isSpaceFunction · 0.85
_isNewlineFunction · 0.85

Tested by

no test coverage detected