bitburner-src/markdown/bitburner.warehouseapi.haswarehouse.md
2022-12-29 20:28:53 -05:00

717 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