UNPKG

stylelint-taro-rn

Version:

A collection of React Native specific rules for stylelint

23 lines (20 loc) 662 B
import { hasLessInterpolation } from './hasLessInterpolation.js'; import { hasPsvInterpolation } from './hasPsvInterpolation.js'; import { hasScssInterpolation } from './hasScssInterpolation.js'; /** * Check whether a string has interpolation * * @param {string} string * @return {boolean} If `true`, a string has interpolation */ function hasInterpolation(string /*: string */) { // SCSS or Less interpolation if (hasLessInterpolation(string) || hasScssInterpolation(string) || hasPsvInterpolation(string)) { return true; } return false; } export { hasInterpolation }; //# sourceMappingURL=hasInterpolation.js.map