.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / hasLessInterpolation.js
1 /* @flow */
2 "use strict";
3
4 /**
5  * Check whether a string has less interpolation
6  *
7  * @param {string} string
8  * @return {boolean} If `true`, a string has less interpolation
9  */
10 module.exports = function(string /*: string*/) /*: boolean*/ {
11   if (/@{.+?}/.test(string)) {
12     return true;
13   }
14
15   return false;
16 };