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

Suggestion to add another Assert which returns either true or false on assertion #132

Closed
leroy0211 opened this issue Oct 2, 2019 · 1 comment

Comments

@leroy0211
Copy link

leroy0211 commented Oct 2, 2019

Would it be an idea to create another Assert-like class with the same interface, which won't throw any exceptions, but will return either true or false, so this logic can be used in other statements like if statements?

if (State:allString($values)) { ... }
@leroy0211
Copy link
Author

leroy0211 commented Oct 2, 2019

oh. duplicate of #129. I'll close this one.

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

No branches or pull requests

1 participant