Files
szjs/node_modules/stylelint/lib/utils/isCustomSelector.mjs

10 lines
196 B
JavaScript
Raw Normal View History

2025-03-07 22:27:18 +08:00
/**
* Check whether a selector is a custom one
*
* @param {string} selector
* @returns {boolean}
*/
export default function isCustomSelector(selector) {
return selector.startsWith(':--');
}