@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
12 lines • 340 B
TypeScript
/**
* Checks if an object is empty
* @param obj{Object|Array} - source object
* @return {boolean}
* @example
* // How to check if an object is empty?
* const obj = {};
* const isEmpty = isObjEmpty(obj);
* console.log(isEmpty); // => true
*/
export function isObjEmpty(obj: any | any[]): boolean;
//# sourceMappingURL=index.d.ts.map