1234567891011121314151617181920212223242526 |
- 'use strict';
- const hasLessInterpolation = require('../utils/hasLessInterpolation');
- const hasPsvInterpolation = require('../utils/hasPsvInterpolation');
- const hasScssInterpolation = require('../utils/hasScssInterpolation');
- const hasTplInterpolation = require('../utils/hasTplInterpolation');
- module.exports = function hasInterpolation(string) {
-
- if (
- hasLessInterpolation(string) ||
- hasScssInterpolation(string) ||
- hasTplInterpolation(string) ||
- hasPsvInterpolation(string)
- ) {
- return true;
- }
- return false;
- };
|