Closed nex3 closed 6 years ago
Because null in Sass is falsey, users should treat it as a boolean rather than explicitly checking for it. For example, @if index(...) { ... } is preferable to @if index(...) != null { ... }.
null
@if index(...) { ... }
@if index(...) != null { ... }
Because
null
in Sass is falsey, users should treat it as a boolean rather than explicitly checking for it. For example,@if index(...) { ... }
is preferable to@if index(...) != null { ... }
.