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) 219 B
/** * Returns the most frequently occurring element(s) in the array. * @author @dailker * @template T * @param {T[]} array * @returns {T[]} */ export declare function findMostFrequent<T>(array: T[]): T[];