Skip to content
New issue

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

Logical Operators #1059

Closed
emagnier opened this issue Dec 30, 2013 · 2 comments
Closed

Logical Operators #1059

emagnier opened this issue Dec 30, 2013 · 2 comments

Comments

@emagnier
Copy link

In some cases, it would be useful to use logical operators in @if (and anywhere else).

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.

@Snugug
Copy link

Snugug commented Dec 30, 2013

This exists in Sass; the issue you're referring to is nearly 3 years old and mentions the fact that this functionality exists.

@emagnier
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants