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

Unless #24

Closed
elliotchance opened this issue Jul 14, 2019 · 0 comments · Fixed by #26
Closed

Unless #24

elliotchance opened this issue Jul 14, 2019 · 0 comments · Fixed by #26
Labels
enhancement New feature or request
Milestone

Comments

@elliotchance
Copy link
Owner

Unless works the same way as if but inverts the condition.

@elliotchance elliotchance added this to the v1 milestone Jul 14, 2019
@elliotchance elliotchance added the enhancement New feature or request label Jul 14, 2019
elliotchance added a commit that referenced this issue Jul 14, 2019
When `unless` is used instead of `if` the comparison is inverted, so that:

    if "Bob" = "Bob"      # true
    unless "Bob" = "Bob"  # false

Fixes #24
elliotchance added a commit that referenced this issue Jul 14, 2019
When `unless` is used instead of `if` the comparison is inverted, so that:

    if "Bob" = "Bob"      # true
    unless "Bob" = "Bob"  # false

Fixes #24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant