UNPKG

@utilify/core

Version:

Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B

10 lines 445 B
/** * Checks if a number is within a given range (inclusive). * @param {number} value - The number to check. * @param {number} min - The minimum value. * @param {number} max - The maximum value. * @returns {boolean} True if value is in range, false otherwise. * @throws {TypeError} If any argument is not a number. */ export default function inRange(value: number, min: number, max: number): boolean; //# sourceMappingURL=inRange.d.ts.map