Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isVariable.js
blob: 913c79aaf015b927c71a405a02fb60afc1f8170a [
file
] [
log
] [
blame
]
/* @flow */
"use strict"
;
/**
* Check whether a word is a variable i.e var(--custom-property).
*/
module
.
exports
=
function
(
word
/*: string*/
)
/*: boolean*/
{
return
word
.
toLowerCase
().
slice
(
0
,
4
)
===
"var("
;
};