Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/number/index.ts>isBetween

A JavaScript extension package for building strong and modern applications.
Latest
function isBetween
import { isBetween } from "https://deno.land/x/ayonli_jsext@v0.9.72/number/index.ts";

Return true if a number is between the given range (inclusive).

This function is the same as value >= min && value <= max.

Parameters

value: number
unnamed 1: [number, number]

Returns

boolean