src/Checker/StringChecker.php
public function shorter($value, int $length): bool
    {
        return is_string($value) && mb_strlen(trim($value)) <= $length;
    }
public function shorter($value, int $length): bool
    {
        return is_string($value) && mb_strlen(trim($value)) <= $length;
    }
public function shorter ( $ value , int $ length ) : bool { return is_string ( $ value ) && mb_strlen ( trim ( $ value ) ) <= $ length ; }
Check if string length is shorter or equal that specified value.

@param string $value
@param int    $length

@return bool
Check if string length is shorter or equal that specified value .