2020-05-19 11:43:42 +03:00

11 lines
233 B
JavaScript

/**
* Check whether a property is a $-variable
*
* @param {string} property
* @return {boolean} If `true`, property is a $-variable
*/
module.exports = function isDollarVariable(property) {
return property.startsWith('$');
};