Returns the constructor of the given object.
The type of the object.
The object whose constructor is to be returned.
The constructor of the object.
class MyClass {}getConstructor(new MyClass()) === MyClass;;//=> true Copy
class MyClass {}getConstructor(new MyClass()) === MyClass;;//=> true
Generated using TypeDoc
Returns the constructor of the given object.