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) > [OfficeAPI](./bitburner.officeapi.md) > [hasResearched](./bitburner.officeapi.hasresearched.md)
|
|
|
|
|
|
|
|
## OfficeAPI.hasResearched() method
|
|
|
|
|
|
|
|
Gets if you have unlocked a research
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
hasResearched(divisionName: string, researchName: string): boolean;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| divisionName | string | Name of the division |
|
2022-03-17 21:50:46 +01:00
|
|
|
| researchName | string | Name of the research |
|
2022-01-13 19:48:54 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
|
|
|
true is unlocked, false if not
|
|
|
|
|