src/Comely/Kernel/Toolkit/Number.php
public static function Range(int $num, int $from, int $to): bool
    {
        return ($num >= $from && $num <= $to) ? true : false;
    }
public static function Range(int $num, int $from, int $to): bool
    {
        return ($num >= $from && $num <= $to) ? true : false;
    }
public static function Range ( int $ num , int $ from , int $ to ) : bool { return ( $ num >= $ from && $ num <= $ to ) ? true : false ; }
Check if specified number is with in specified range

@param int $num
@param int $from
@param int $to
@return bool
Check if specified number is with in specified range