@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
9 lines (8 loc) • 411 B
TypeScript
import { IApiBaseEntity } from '../../../interface/api-base-entity.interface';
import { Type } from '@nestjs/common';
/**
* Checks whether the candidate is a class constructor reference.
* @param {unknown} candidate - Value to inspect.
* @returns {boolean} True when candidate is a constructor function.
*/
export declare function IsEntityConstructor(candidate: unknown): candidate is Type<IApiBaseEntity>;