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

Missing notInstanceOfAny #270

Open
smilesrg opened this issue Apr 27, 2022 · 1 comment
Open

Missing notInstanceOfAny #270

smilesrg opened this issue Apr 27, 2022 · 1 comment

Comments

@smilesrg
Copy link

Thre is a method for checking if the value is instance of at least one class on the array of classes

isInstanceOfAny($value, array $classes, $message = '') 

But no method that checks if the value is NOT an instance of at least one class on the array of classes. Missing:

isNotInstanceOfAny($value, array $classes, $message = '') 
@Tautve
Copy link

Tautve commented Oct 1, 2022

@smilesrg I'll add it

Tautve pushed a commit to Tautve/assert that referenced this issue Oct 1, 2022
@Tautve Tautve mentioned this issue Oct 1, 2022
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

2 participants