@webdeveric/utils
    Preparing search index...

    Create a type predicate function that checks if input is a number or bigint within the inclusive range from min to max.

    const isPositive = range(0, Infinity);
    isPositive(5); // true
    isPositive(-1); // false