projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
minor adjustment to readme
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
stylelint
/
lib
/
utils
/
hasScssInterpolation.js
1
/* @flow */
2
"use strict";
3
4
/**
5
* Check whether a string has scss interpolation
6
*/
7
module.exports = function(string /*: string*/) /*: boolean*/ {
8
if (/#{.+?}/.test(string)) {
9
return true;
10
}
11
12
return false;
13
};