getPrototypeOf<T>
Gets the prototype of the specified object.
Import:
import { getPrototypeOf } from '@mnaoumov/typescript-lib/object-utils';Signature:
function getPrototypeOf(instance: T): TParameters:
| Parameter | Type | Description |
|---|---|---|
instance |
T | The object instance to retrieve the prototype of. |
Returns: T — The prototype of the object.