projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e56024a42703ec47c63a0ed40e5c5392ec87f229
[dotfiles/.git]
/
hasPsvInterpolation.js
1
/* @flow */
2
"use strict";
3
4
/**
5
* Check whether a string has postcss-simple-vars interpolation
6
*/
7
module.exports = function(string /*: string*/) /*: boolean*/ {
8
if (/\$\(.+?\)/.test(string)) {
9
return true;
10
}
11
12
return false;
13
};