Function: cssValueHasCustomPropertyReference()
function cssValueHasCustomPropertyReference(
value: string,
propertyName: string
): boolean;
Defined in: _internal/css-value-analysis.ts:7
Check whether a CSS value references one custom property via var(...),
ignoring quoted text and comments.
Parametersโ
valueโ
string
propertyNameโ
string
Returnsโ
boolean