Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/darkreader/darkreader
/ isVariable
Function
isVariable
src/inject/dynamic-theme/variables.ts:744–746 ·
view source on GitHub ↗
(property: string)
Source
from the content-addressed store, hash-verified
742
}
743
744
function
isVariable(property: string) {
745
return
property.startsWith(
'--'
);
746
}
747
748
function
isVarDependant(value: string) {
749
return
value.includes(
'var('
);
Callers
4
collectVarsFromCSSDeclarations
Method · 0.85
collectRootVariables
Method · 0.85
inspectVarDependant
Method · 0.85
putRootVars
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected