# extendify/3.2.1/src/Library/util/dom.js

Extendify, version 3.2.1. 7 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Library/util/dom.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/Library/util/dom.js
- Modified: 2026-02-18T22:27:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Library/util/dom.js#L10-L20`.

```javascript
export const hasCSSVar = (varName, cssRules = []) => {
	return Array.from(cssRules).some((rule) => {
		if (!rule.style) return false;
		return Array.from(rule.style).some((style) => style?.includes(varName));
	});
};

```
