@maddimathon/utility-typescript
Version:
TypeScript utilities (types, functions, classes) to use in various projects.
20 lines (19 loc) • 411 B
TypeScript
/**
* @since 2.0.0-beta.1
*
* @packageDocumentation
*/
/*!
* @maddimathon/utility-typescript@2.0.0-beta.5
* @license MIT
*/
/**
* Checks whether an object is empty (by checking for keys and constructor).
*
* Non-object types are evaluated in other ways depending on type.
*
* @category Functions – Object
*
* @since 2.0.0-beta.1
*/
export declare function isObjectEmpty(obj: unknown): boolean;