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) 298 B
/** * Calculates the interquartile range (IQR) of an array of numbers. * IQR = Q3 - Q1. * @author @dailker * @param {number[]} numbers - The input array of numbers. * @returns {number} The interquartile range. */ export declare function interquartileRange(numbers: number[]): number;