//#region src/array/compact.d.ts /** * Removes falsy values from an array * @param array The array to compact * @returns A new array with falsy values removed * @example * compact([0, 1, false, 2, '', 3, null, undefined, 4]); // [1, 2, 3, 4] */ declare function compact(array: (T | null | undefined | false | 0 | '')[]): T[]; //#endregion export { compact }; //# sourceMappingURL=compact.d.cts.map