MCPcopy
hub / github.com/webpack/webpack / cvTypes

Function cvTypes

test/walkCssTokensParser.unittest.js:30–30  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

28 * @returns {number[]} component value types
29 */
30const cvTypes = (src) => parseAListOfComponentValues(src).map((n) => n.type);
31/**
32 * @param {string} src css source
33 * @returns {number} the first token's type

Callers 1

Calls 1

Tested by

no test coverage detected