projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8522f89bf42b1d8ef1f81f2018138871e8cd226d
[dotfiles/.git]
/
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
};