MCPcopy
hub / github.com/webpack/webpack / isCssWhitespace

Function isCssWhitespace

lib/css/CssParser.js:492–497  ·  view source on GitHub ↗
(cc)

Source from the content-addressed store, hash-verified

490 * @returns {boolean} true when `cc` is CSS whitespace (space/tab/newline/CR/FF)
491 */
492const isCssWhitespace = (cc) =>
493 cc === CC_SPACE ||
494 cc === CC_TAB ||
495 cc === CC_LINE_FEED ||
496 cc === CC_CARRIAGE_RETURN ||
497 cc === CC_FORM_FEED;
498
499/**
500 * Skip trailing whitespace + at most one newline (CRLF-aware).

Callers 3

normalizeUrlFunction · 0.85
stripFunctionMarkerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected