Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isVariable.js 223B

1234567891011
  1. 'use strict';
  2. /**
  3. * Check whether a word is a variable i.e var(--custom-property).
  4. *
  5. * @param {string} word
  6. * @returns {boolean}
  7. */
  8. module.exports = function (word) {
  9. return word.toLowerCase().startsWith('var(');
  10. };