UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

8 lines (7 loc) 367 B
import { IApiBaseEntity } from '../../../interface/api-base-entity.interface'; /** * Checks whether the candidate is an object literal representing metadata. * @param {unknown} candidate - Value to inspect. * @returns {boolean} True when candidate is a non-null object. */ export declare function IsEntityLiteral(candidate: unknown): candidate is IApiBaseEntity;