bitburner-src/markdown/bitburner.warehouseapi.haswarehouse.md

28 lines
628 B
Markdown
Raw Normal View History

2022-01-13 19:48:54 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WarehouseAPI](./bitburner.warehouseapi.md) &gt; [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