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

Extendify, version 1.17.1. 9 lines.

- Page: https://pluginprobe.com/plugins/extendify/1.17.1/code/src/Library/util/dom.js
- Raw: https://pluginprobe.com/plugins/extendify/1.17.1/raw/src/Library/util/dom.js
- Modified: 2023-10-20T20:04:20+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/1.17.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 && style.includes(varName),
		);
	});
};

```
