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

9 lines
192 B
JavaScript
Raw Normal View History

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