11 lines
210 B
JavaScript
11 lines
210 B
JavaScript
|
'use strict';
|
||
|
|
||
|
/**
|
||
|
* Check whether a property is a custom one
|
||
|
* @param {string} property
|
||
|
* @returns {boolean}
|
||
|
*/
|
||
|
module.exports = function isCustomProperty(property) {
|
||
|
return property.startsWith('--');
|
||
|
};
|