mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
28 lines
628 B
Markdown
28 lines
628 B
Markdown
<!-- 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
|
|
hasWarehouse(adivisionName: string, acityName: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| adivisionName | string | |
|
|
| acityName | string | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
true if warehouse is present, false if not
|
|
|