@storm-stack/types
Version:
⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
15 lines (14 loc) • 537 B
TypeScript
/**
* Check if the provided value's type is `{}`
*
* @param value - The value to type check
* @returns An indicator specifying if the value provided is of type `{}`
*/
export declare const isEmptyObject: (value: unknown) => value is {};
/**
* Check if the provided value's type is `null` or `undefined` or `{}`
*
* @param value - The value to type check
* @returns An indicator specifying if the value provided is of type `null` or `undefined` or `{}`
*/
export declare const isEmptyOrEmptyObject: (value: unknown) => boolean;