samedi 4 juillet 2015

Haxe Reflection - Subclasses and Interfaces

I can use the Haxe Type Class to reflect an object's class e.g.

getClass<T> (o:T):Class<T>

Is there a way to check whether a given object implements an interface or is a subclass of another class?





Aucun commentaire:

Enregistrer un commentaire