Skip to content

isInheritedFrom

@tsed/core

Usage ​

typescript
import { isInheritedFrom } from "@tsed/core";

See /packages/core/src/utils/isInheritedFrom.ts.

Overview ​

ts
function isInheritedFrom(target: any, from: any, deep?: number): boolean;

Description ​

Checks if a target class inherits from another class within a specified depth limit.

Released under the MIT License.