@naverpay/hidash
Version:
improved lodash
12 lines (9 loc) • 512 B
text/typescript
import { EmptyObjectOf } from './internal/types.mjs';
/**
* @see https://unpkg.com/browse/lodash.isempty@4.4.0/index.js
*/
declare function isEmpty(value: string): value is '';
declare function isEmpty(value: Map<unknown, unknown> | Set<unknown> | ArrayLike<unknown> | null | undefined): boolean;
declare function isEmpty<T extends object>(value: T | null | undefined): value is EmptyObjectOf<T> | null | undefined;
declare function isEmpty(value?: unknown): boolean;
export { isEmpty as default, isEmpty };