UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

9 lines (8 loc) 234 B
/** * Breaks array into recursively nested chunks of halves (like binary tree levels). * @author @dailker * @template T * @param {T[]} array * @returns {any} */ export declare function fractalChunks<T>(array: T[]): any;