isPlainCss method

bool isPlainCss({
  1. bool allowInterpolation = false,
})

Whether this expression is valid plain CSS that will produce the same result as it would in Sass

If allowInterpolation is true, interpolated expressions are allowed as an exception, even if they contain SassScript.

Implementation

bool isPlainCss({bool allowInterpolation = false}) =>
    accept(IsPlainCssVisitor(allowInterpolation: allowInterpolation));