isCustomProperty.js 194 B

12345678910
  1. 'use strict';
  2. /**
  3. * Check whether a property is a custom one
  4. * @param {string} property
  5. * @returns {boolean}
  6. */
  7. module.exports = function (property) {
  8. return property.startsWith('--');
  9. };