File "dom.js"

Full Path: /home/leadltht/fastlinkinternet.com/admin/wp-content/wp-content/wp-content/plugins/extendify/src/Library/util/dom.js
File size: 233 bytes
MIME-type: text/plain
Charset: utf-8

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),
		);
	});
};