/**
 * Check whether a word is a variable i.e var(--custom-property).
 *
 * @param {string} word
 * @returns {boolean}
 */
export default function isVariable(word) {
	return word.toLowerCase().startsWith('var(');
}
