src/Checker/StringChecker.php
public function range($value, int $min, int $max): bool
    {
        return is_string($value)
            && (mb_strlen($trimmed = trim($value)) >= $min)
            && (mb_strlen($trimmed) <= $max);
    }
public function range($value, int $min, int $max): bool
    {
        return is_string($value)
            && (mb_strlen($trimmed = trim($value)) >= $min)
            && (mb_strlen($trimmed) <= $max);
    }
public function range ( $ value , int $ min , int $ max ) : bool { return is_string ( $ value ) && ( mb_strlen ( $ trimmed = trim ( $ value ) ) >= $ min ) && ( mb_strlen ( $ trimmed ) <= $ max ) ; }
Check if string length are fits in specified range.

@param mixed $value
@param int   $min
@param int   $max

@return bool
Check if string length are fits in specified range .