I\'m looking for an equivalent of Ruby\'s \"blah\".is_a?(String) of Objective-C\'s [@\"blah\" isKindOfClass:[NSString class]]
\"blah\".is_a?(String)
[@\"blah\" isKindOfClass:[NSString class]]
It feels wrong for me to create an instance of a class. You never know, what parameters the constructor might expect.
So what I came up with is this:
class A class B extends A console.log B.__super__ is A.prototype# => true