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