MultiLoader-Template/node_modules/es-toolkit/dist/compat/predicate/isEmpty.d.mts
3944Realms 768f38fc97 feat: 可使用的构建模板
修改了脚本,使其可以推给Maven仓库
2026-05-03 13:02:19 +08:00

13 lines
542 B
TypeScript

import { EmptyObjectOf } from '../_internal/EmptyObjectOf.mjs';
declare function isEmpty<T extends {
__trapAny: any;
}>(value?: T): boolean;
declare function isEmpty(value: string): value is '';
declare function isEmpty(value: Map<any, any> | Set<any> | ArrayLike<any> | null | undefined): boolean;
declare function isEmpty(value: object): boolean;
declare function isEmpty<T extends object>(value: T | null | undefined): value is EmptyObjectOf<T> | null | undefined;
declare function isEmpty(value?: any): boolean;
export { isEmpty };