thingsboard/ui/node_modules/stylelint/lib/utils/hasLessInterpolation.js

12 lines
235 B
JavaScript
Raw Normal View History

2020-05-19 11:43:42 +03:00
'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);
};