4 const hasLessInterpolation = require("../utils/hasLessInterpolation");
5 const hasPsvInterpolation = require("../utils/hasPsvInterpolation");
6 const hasScssInterpolation = require("../utils/hasScssInterpolation");
8 * Check whether a string has interpolation
10 * @param {string} string
11 * @return {boolean} If `true`, a string has interpolation
13 module.exports = function(string /*: string*/) /*: boolean*/ {
14 // SCSS or Less interpolation
16 hasLessInterpolation(string) ||
17 hasScssInterpolation(string) ||
18 hasPsvInterpolation(string)