2022-01-13 19:48:54 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [hasWarehouse](./bitburner.warehouseapi.haswarehouse.md)
|
|
|
|
|
|
|
|
## WarehouseAPI.hasWarehouse() method
|
|
|
|
|
|
|
|
Check if you have a warehouse in city
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2022-08-17 14:50:05 +02:00
|
|
|
hasWarehouse(adivisionName: string, acityName: string): boolean;
|
2022-01-13 19:48:54 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2022-08-17 14:50:05 +02:00
|
|
|
| adivisionName | string | |
|
|
|
|
| acityName | string | |
|
2022-01-13 19:48:54 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
|
|
|
true if warehouse is present, false if not
|
|
|
|
|