MCPcopy
hub / github.com/webpack/webpack / _isNewline

Function _isNewline

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

Source from the content-addressed store, hash-verified

266 * @returns {boolean} true, if cc is a newline (per the spec: LF, CR, or FF)
267 */
268const _isNewline = (cc) =>
269 cc === CC_LINE_FEED || cc === CC_CARRIAGE_RETURN || cc === CC_FORM_FEED;
270
271/**
272 * If the source had a CR followed by an LF, advance past the LF —

Callers 4

_isWhiteSpaceFunction · 0.85
_consumeAnIdentSequenceFunction · 0.85
consumeAStringTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected