stylelint-taro-rn
Version:
A collection of React Native specific rules for stylelint
16 lines (14 loc) • 367 B
JavaScript
/**
* Check whether a string has less interpolation
*
* @param {string} string
* @return {boolean} If `true`, a string has less interpolation
*/
function hasLessInterpolation(string /*: string */) {
if (/@{.+?}/.test(string)) {
return true;
}
return false;
}
export { hasLessInterpolation };
//# sourceMappingURL=hasLessInterpolation.js.map