on-internet
← Community

Checking if an instance's class implements an interface?

Stack Overflow ·

Given a class instance, is it possible to determine if it implements a particular interface? As far as I know, there isn't a built-in function to do this directly. What options do I have (if any)?

Comments

Sign in or sign up to comment and upvote.

No comments yet.