mirror of
https://github.com/thangisme/notes.git
synced 2025-09-24 11:14:31 -04:00
Initial commit
This commit is contained in:
9
node_modules/stylelint/lib/utils/isVariable.js
generated
vendored
Normal file
9
node_modules/stylelint/lib/utils/isVariable.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/* @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("
|
||||
}
|
Reference in New Issue
Block a user