Skip to content

isWithin

Checks if a value is within an inclusive range.

ts
import { isWithin } from '@vielzeug/toolkit';

isWithin(5, 1, 10); // true