@ctusch wrote:
Hey
I'm trying to detect whether a class which is unknown at runtime derives from a certain base class. The obvious way didn't work:
if (SomeClass.prototype === BaseClass) { // do stuff }
How would I do this in Ember?
Posts: 1
Participants: 1