first commit
This commit is contained in:
11
node_modules/stylelint/lib/utils/hasLessInterpolation.mjs
generated
vendored
Normal file
11
node_modules/stylelint/lib/utils/hasLessInterpolation.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
const HAS_LESS_INTERPOLATION = /@\{.+?\}/;
|
||||
|
||||
/**
|
||||
* Check whether a string has less interpolation
|
||||
*
|
||||
* @param {string} string
|
||||
* @returns {boolean} If `true`, a string has less interpolation
|
||||
*/
|
||||
export default function hasLessInterpolation(string) {
|
||||
return HAS_LESS_INTERPOLATION.test(string);
|
||||
}
|
||||
Reference in New Issue
Block a user