source: node_modules/es-toolkit/dist/compat/predicate/isEmpty.d.ts

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 541 bytes
RevLine 
[a762898]1import { EmptyObjectOf } from '../_internal/EmptyObjectOf.js';
2
3declare function isEmpty<T extends {
4 __trapAny: any;
5}>(value?: T): boolean;
6declare function isEmpty(value: string): value is '';
7declare function isEmpty(value: Map<any, any> | Set<any> | ArrayLike<any> | null | undefined): boolean;
8declare function isEmpty(value: object): boolean;
9declare function isEmpty<T extends object>(value: T | null | undefined): value is EmptyObjectOf<T> | null | undefined;
10declare function isEmpty(value?: any): boolean;
11
12export { isEmpty };
Note: See TracBrowser for help on using the repository browser.