Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { ancestorOf } from "@tsed/core";
See /packages/core/src/utils/ancestorOf.ts.
function ancestorOf(target: any): any;
Returns the immediate prototype (ancestor) of the given target.
Internally uses Object.getPrototypeOf to retrieve the prototype chain ancestor.
Object.getPrototypeOf