MCPcopy
hub / github.com/webpack/webpack / isDashedIdentifier

Function isDashedIdentifier

lib/css/CssParser.js:184–185  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

182 * @returns {boolean} true when identifier is dashed, otherwise false
183 */
184const isDashedIdentifier = (identifier) =>
185 identifier.startsWith("--") && identifier.length >= 3;
186
187/**
188 * `binarySearchBounds` comparator for `getComments` — hoisted so the lookup

Callers 4

walkSelectorListMethod · 0.85
parseMethod · 0.85
[NodeType.Ident]Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected