const isEmpty = (obj: any) => obj === null || (obj && Object.keys(obj).length === 0); export default isEmpty;