MCPcopy Create free account
hub / github.com/cuth/postcss-pxtorem / declarationExists

Function declarationExists

index.js:62–64  ·  view source on GitHub ↗
(decls, prop, value)

Source from the content-addressed store, hash-verified

60}
61
62function declarationExists(decls, prop, value) {
63 return decls.some(decl => decl.prop === prop && decl.value === value);
64}
65
66function blacklistedSelector(blacklist, selector) {
67 if (typeof selector !== "string") return;

Callers 1

DeclarationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…