reports/frontend/node_modules/es-toolkit/dist/compat/predicate/isEmpty.d.ts
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

13 lines
No EOL
594 B
TypeScript

import { EmptyObjectOf } from "../_internal/EmptyObjectOf.js";
//#region src/compat/predicate/isEmpty.d.ts
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;
//#endregion
export { isEmpty };