Project-GC Lua Sandbox API
Loading...
Searching...
No Matches
GetNumberOfCountiesInRegion

Member Function Documentation

◆ GetNumberOfCountiesInRegion()

GetNumberOfCountiesInRegion ( $country,
$region )

Returns the number of counties in a region.

The number returned is based on Project-GC's polygon data. If no such data exists, a false will be returned.

Parameters
string$country(required)
string$region(required)
Returns
int|false The number of counties in the region, or false if no data exists.