mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
33 lines
877 B
Markdown
33 lines
877 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityEstimatedPopulation](./bitburner.bladeburner.getcityestimatedpopulation.md)
|
|
|
|
## Bladeburner.getCityEstimatedPopulation() method
|
|
|
|
Get estimated population in city.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getCityEstimatedPopulation(city: CityName | `${CityName}`): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Estimated number of Synthoids in the specified city.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified.
|
|
|