Josegonzalez\Upload\Validation\Traits\UploadValidationTrait::isAboveMinSize PHP Method

isAboveMinSize() public static method

Check that the file is above the minimum file upload size
public static isAboveMinSize ( mixed $check, integer $size ) : boolean
$check mixed Value to check
$size integer Minimum file size
return boolean Success
    public static function isAboveMinSize($check, $size)
    {
        // Non-file uploads also mean the size is too small
        if (!isset($check['size']) || !strlen($check['size'])) {
            return false;
        }
        return $check['size'] >= $size;
    }