4 lines
78 B
JavaScript
4 lines
78 B
JavaScript
export const objectIsEmpty = (obj) => {
|
|
return !Object.keys(obj).length;
|
|
};
|