Sign in
chromium
/
devtools
/
devtools-frontend
/
0a3621c
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isVariable.js
blob: c893b7e3b50b200bf4c5a5d11eabd9eb27bf51d7 [
file
]
'use strict'
;
/**
* Check whether a word is a variable i.e var(--custom-property).
*
* @param {string} word
* @returns {boolean}
*/
module
.
exports
=
function
(
word
)
{
return
word
.
toLowerCase
().
startsWith
(
'var('
);
};