UNPKG

@stylistic/stylelint-plugin

Version:
9 lines (8 loc) 260 B
/** * Checks whether a property is a custom one. * @param {string} property - The CSS property name. * @returns {boolean} True if the property is custom, false otherwise. */ export function isCustomProperty (property) { return property.startsWith(`--`) }