public static function between($min, $max): Compare
    {
        $value = $min > $max ? [$max, $min] : [$min, $max];
        return new Compare('bt', $value);
    }
public static function between($min, $max): Compare
    {
        $value = $min > $max ? [$max, $min] : [$min, $max];
        return new Compare('bt', $value);
    }
public static function between ( $ min , $ max ) : Compare { $ value = $ min > $ max ? [ $ max , $ min ] : [ $ min , $ max ] ; return new Compare ( 'bt' , $ value ) ; }
Gets a rule that requires numbers to be in a given range.

@param int|float $min The minimum value, inclusive
@param int|float $max The maximum value, inclusive
@return \Caridea\Validate\Rule\Compare the created rule
Gets a rule that requires numbers to be in a given range .