"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.docHasTimestamps = void 0;
function docHasTimestamps(doc) {
    return (doc === null || doc === void 0 ? void 0 : doc.createdAt) && (doc === null || doc === void 0 ? void 0 : doc.updatedAt);
}
exports.docHasTimestamps = docHasTimestamps;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBNENBLFNBQWdCLGdCQUFnQixDQUFDLEdBQVE7SUFDdkMsT0FBTyxDQUFBLEdBQUcsYUFBSCxHQUFHLHVCQUFILEdBQUcsQ0FBRSxTQUFTLE1BQUksR0FBRyxhQUFILEdBQUcsdUJBQUgsR0FBRyxDQUFFLFNBQVMsQ0FBQSxDQUFDO0FBQzFDLENBQUM7QUFGRCw0Q0FFQyJ9