Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some cases, it would be useful to use logical operators in @if (and anywhere else).
@if
E.g.:
@if var1 == "foo" and var2 == "bar" { ... }
Depending of what is decided here: #25 we could use and and/or &&, or and/or ||, etc.
and
&&
or
||
The text was updated successfully, but these errors were encountered:
This exists in Sass; the issue you're referring to is nearly 3 years old and mentions the fact that this functionality exists.
Ok shame on me, I'm a bit tired tonight :) I had another bug in my code and didn't read correctly the error message, as well as the linked issue.
In some cases, it would be useful to use logical operators in
@if
(and anywhere else).E.g.:
Depending of what is decided here: #25 we could use
and
and/or&&
,or
and/or||
, etc.The text was updated successfully, but these errors were encountered: