@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
14 lines (11 loc) • 405 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;
}
exports.IsEntityLiteral = IsEntityLiteral;
//# sourceMappingURL=literal.utility.js.map