hasPrototype
sourcehasPrototype<T>(supertype: AbstractCtor): Functionsource
Returns a type guard that checks if a given function is a constructor of a subclass that extends the given superclass.
hasPrototype<T>(supertype: AbstractCtor, subtype: AbstractCtor): subtype is AbstractCtor<T>source
Type guard that checks if a given function is a constructor of a subclass that extends the given superclass.