I am trying to create a variable that is equal to nothing. I have tried the following..
$false:null;
-and-
$false:" ";
What I am trying to use it with is this...
@mixin myMixin($myVariable:"", $myOtherVariable){
$false:null;
@if $myVariable == $false {
//do something
}
@if $myVariable != "" {
//do something else
}
}
@include myMixin("", $myOtherVariable);
I am using two variables for this example, but I plan to have more than two.
Basically what I want to do is have the option to exclude a variable without having to use empty quotes. And the problem with $false: "";
Is that it still expects empty quotes. So I am wondering if there is something built into SASS to designate "null / or nothing". I thought it might be null. But that doesn't seem to be the case..