epiphany/node_modules/stylelint/lib/utils/hasScssInterpolation.js
2023-12-09 22:48:07 -08:00

12 lines
250 B
JavaScript

'use strict';
const HAS_SCSS_INTERPOLATION = /#\{.+?\}/;
/**
* Check whether a string has scss interpolation
*
* @param {string} string
*/
module.exports = function hasScssInterpolation(string) {
return HAS_SCSS_INTERPOLATION.test(string);
};