We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Aas far as I understand, at the moment to assert that a variable contains a positive integer I need to use two assertions
Assert::integer($a, '...'); Assert::greaterThanEq($a, 0, '...');
Would it make sense to create a new assertion to condense these two in a single call? It could be called something like Assert::natural()
Assert::natural()
The text was updated successfully, but these errors were encountered:
👍 if you think it is a common use case.
Sorry, something went wrong.
Closed by #35
No branches or pull requests
Aas far as I understand, at the moment to assert that a variable contains a positive integer I need to use two assertions
Would it make sense to create a new assertion to condense these two in a single call? It could be called something like
Assert::natural()
The text was updated successfully, but these errors were encountered: