mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 02:53:47 +01:00
742 B
742 B
Home > bitburner > WarehouseAPI > hasWarehouse
WarehouseAPI.hasWarehouse() method
Check if you have a warehouse in city.
Signature:
hasWarehouse(divisionName: string, city: CityName | `${CityName}`): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
divisionName | string | |
city | CityName | `${CityName}` |
Returns:
boolean
true if warehouse is present, false if not.
Remarks
RAM cost: 10 GB