Browse documentation

isBetween

Checks whether a numeric value falls within an inclusive range.

Table of contents

Category

Value

Import

js
import { isBetween } from "valyrian.js/utils";

Public signature

ts
(value: any, min: number, max: number): boolean

Parameters

ts
value: any, min: number, max: number

Result

ts
boolean