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.

8 lines (7 loc) 183 B
/** * Finds the mode(s) in a numeric array. * @author @dailker * @param {number[]} array * @returns {number[]} */ export declare function mode(array: number[]): number[];