import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
const key = Symbol('isNewRecord');
const isNewRecord = (record)=>!!(null == record ? void 0 : record[key]);
const markRecordAsNew = (record)=>{
    if (!(0, __WEBPACK_EXTERNAL_MODULE_lodash__.isObject)(record)) throw new Error('markRecordAsNew: record must be an object');
    record[key] = true;
    return record;
};
export { isNewRecord, markRecordAsNew };
