Skip to content

The open alternative to Salesforce, designed for AI.

164 B
Raw Blame
import { isObject } from '@sniptt/guards';

export const isEmptyObject = (obj: any): obj is object => {
  return isObject(obj) && Object.keys(obj).length === 0;
};