hasPsvInterpolation.js 190 B

12345678910
  1. 'use strict';
  2. /**
  3. * Check whether a string has postcss-simple-vars interpolation
  4. *
  5. * @param {string} string
  6. */
  7. module.exports = function (string) {
  8. return /\$\(.+?\)/.test(string);
  9. };