WordPress at a glance
function is not described

get_networks() WP 4.6.0

Retrieves a list of networks.

No Hooks.

Return

Array/Int. List of WP_Network objects, a list of network ids when 'fields' is set to 'ids', or the number of networks when 'count' is passed as a query var.

Usage

get_networks( $args );
$args(string/array)
Array or string of arguments. See WP_Network_Query::parse_query() for information on accepted arguments.
Default: empty array

Code of get networks: wp-includes/ms-blogs.php VER 5.0.3

<?php
function get_networks( $args = array() ) {
	$query = new WP_Network_Query();

	return $query->query( $args );
}