.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / isVariable.js
1 /* @flow */
2 "use strict";
3
4 /**
5  * Check whether a word is a variable i.e var(--custom-property).
6  */
7 module.exports = function(word /*: string*/) /*: boolean*/ {
8   return word.toLowerCase().slice(0, 4) === "var(";
9 };