If/Else Statements in Sass. Make sure that if your variable properties are stored with ' quotes around them, your @if statement checks that too. ... if statements can be useful for mixins for checking variables or in libraries to include or exclude code.