4 const hasInterpolation = require("../utils/hasInterpolation");
6 * Check whether a media feature is standard
8 module.exports = function(mediaFeature /*: string*/) /*: boolean*/ {
9 // Remove outside parens
10 mediaFeature = mediaFeature.slice(1, -1);
12 // Parentheticals used for non-standard operations e.g. ($var - 10)
13 if (mediaFeature.indexOf("(") !== -1) {
17 // SCSS or Less interpolation
18 if (hasInterpolation(mediaFeature)) {