Skip to content

nameOfClass

@tsed/core

Usage ​

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

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

Overview ​

ts
function nameOfClass(targetClass: any): string;

Description ​

Gets the name of a class from a constructor function or instance.

Released under the MIT License.