@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
12 lines (10 loc) • 375 B
JavaScript
/**
* 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.
*/
function IsEntityLiteral(candidate) {
return typeof candidate === "object" && candidate !== null;
}
export { IsEntityLiteral };
//# sourceMappingURL=literal.utility.js.map