UNPKG

487 BTypeScriptView Raw
1export declare const EMPTY_ARRAY: readonly unknown[];
2export declare function emptyArray<T extends unknown>(): T[];
3export declare const EMPTY_STRING_ARRAY: string[];
4export declare const EMPTY_NUMBER_ARRAY: number[];
5/**
6 * This function returns `true` if the input array is the special empty array sentinel,
7 * which is sometimes used for optimizations.
8 */
9export declare function isEmptyArray(input: unknown[] | readonly unknown[]): boolean;
10//# sourceMappingURL=array-utils.d.ts.map
\No newline at end of file