Files
ccszjs/node_modules/stylelint/lib/utils/isCustomSelector.cjs
renjianbo 12ccebc477 sec
2026-07-18 16:31:27 +08:00

16 lines
375 B
JavaScript

// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
'use strict';
/**
* Check whether a selector is a custom one
*
* @param {string} selector
* @returns {boolean}
*/
function isCustomSelector(selector) {
return selector.startsWith(':--');
}
module.exports = isCustomSelector;