* WIP * WIP * POC working on hard coded completedAt field * Finished isRecordMatchingFilter, mock of pg_graphql filtering mechanism * Fixed and cleaned * Unregister unused optimistic effects * Fix lint * Fixes from review --------- Co-authored-by: Charles Bochet <charles@twenty.com>
4 lines
141 B
TypeScript
4 lines
141 B
TypeScript
export const isAnObject = (obj: any): obj is object => {
|
|
return typeof obj === 'object' && obj !== null && Object.keys(obj).length > 0;
|
|
};
|