isCustomProperty.mjs 192 B

12345678
  1. /**
  2. * Check whether a property is a custom one
  3. * @param {string} property
  4. * @returns {boolean}
  5. */
  6. export default function isCustomProperty(property) {
  7. return property.startsWith('--');
  8. }