thingsboard/ui/node_modules/stylelint/lib/utils/hasLessInterpolation.js
2020-05-19 11:43:42 +03:00

12 lines
235 B
JavaScript

'use strict';
/**
* Check whether a string has less interpolation
*
* @param {string} string
* @return {boolean} If `true`, a string has less interpolation
*/
module.exports = function(string) {
return /@{.+?}/.test(string);
};