* 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>
6 lines
164 B
TypeScript
6 lines
164 B
TypeScript
import { isObject } from '@sniptt/guards';
|
|
|
|
export const isEmptyObject = (obj: any): obj is object => {
|
|
return isObject(obj) && Object.keys(obj).length === 0;
|
|
};
|