securityos/node_modules/stylelint/lib/utils/isCustomSelector.js

12 lines
214 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
/**
* Check whether a selector is a custom one
*
* @param {string} selector
* @returns {boolean}
*/
module.exports = function isCustomSelector(selector) {
return selector.startsWith(':--');
};