Is there not equal ( !== ) statement in SCSS?

Viewed 14006

How to add additional style if the value is passed? Or is there any way to do it?

@mixin link($color, $color-hover:false){
 color: $color;
 @if $color-hover !== false {
  &:hover { color: $color-hover; }
 }
}
1 Answers
Related