Home > bitburner > WarehouseAPI > hasWarehouse
Check if you have a warehouse in city.
Signature:
hasWarehouse(divisionName: string, city: CityName): boolean;|
Parameter |
Type |
Description |
|---|---|---|
|
divisionName |
string | |
|
city |
Returns:
boolean
true if warehouse is present, false if not.
RAM cost: 10 GB