Sign in
apache
/
nifi-fds
/
gh-pages
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isVariable.js
blob: c893b7e3b50b200bf4c5a5d11eabd9eb27bf51d7 [
file
] [
log
] [
blame
]
'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('
);
};