Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

IsAnInstanceOfOneOf is inconsistent with IsInstanceOf<> for nullable types #298

Closed
dupdob opened this issue May 1, 2019 · 2 comments
Closed
Assignees
Labels

Comments

@dupdob
Copy link
Collaborator

dupdob commented May 1, 2019

IsAnInstanceOf fails for null nullable value, whereas IsInstanceOf is ok with those.
IsAnInstanceOf if supposed to be a non generic version of IsInstanceOf.

Expected Behavior

Both checks should have same behavior for consistency reason.
But, it may also be seen as a useful feature, so I am waiting for feedback on this before defining the expected behavior

@dupdob dupdob added the question label May 2, 2019
@dupdob
Copy link
Collaborator Author

dupdob commented Mar 17, 2020

duplicate of #68

@dupdob dupdob self-assigned this May 18, 2020
@dupdob
Copy link
Collaborator Author

dupdob commented May 18, 2020

Fixed

@dupdob dupdob closed this as completed May 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant