4 const hasInterpolation = require("../utils/hasInterpolation");
6 * Check whether a value is standard
8 module.exports = function(value /*: string*/) /*: boolean*/ {
9 let normalizedValue = value;
11 // Ignore operators before variables (example -$variable)
12 if (/^[-+*/]/.test(value[0])) {
13 normalizedValue = normalizedValue.slice(1);
17 if (normalizedValue[0] === "$") {
22 if (normalizedValue[0] === "@") {
26 // SCSS or Less interpolation
27 if (hasInterpolation(normalizedValue)) {