Function: classExtends()
classExtends<
T
>(value
:Ctor
,base
:T
):value is T
Checks whether or not the value class extends the base class.
Type Parameters
Type Parameter |
---|
T extends Ctor |
Parameters
Parameter | Type | Description |
---|---|---|
value | Ctor | The constructor to be checked against. |
base | T | The base constructor. |
Returns
value is T