WordPress at a glance
function is not described

is_upload_space_available() WP 3.0.0

Determines if there is any upload space left in the current blog's quota.

No Hooks.

Return

true/false. True if space is available, false otherwise.

Usage

is_upload_space_available();

Changelog

Since 3.0.0 Introduced.

Code of is upload space available: wp-includes/ms-functions.php WP 5.2.2

<?php
function is_upload_space_available() {
	if ( get_site_option( 'upload_space_check_disabled' ) ) {
		return true;
	}

	return (bool) get_upload_space_available();
}