UNPKG

@storm-stack/utilities

Version:

This package includes various base utility class and various functions to assist in the development process.

8 lines (7 loc) 249 B
/** * Removes empty items from an array * * @param arr - The array to remove empty items from * @returns The array with empty items removed */ export declare const removeEmptyItems: <T = any>(arr: (T | undefined | null)[]) => NonNullable<T>[];