2022-10-21 17:16:00 +02: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
|
|
|
|
|
2024-08-16 11:02:23 +02:00
|
|
|
Check if you unlocked a research.
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
hasResearched(divisionName: string, researchName: string): boolean;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| divisionName | string | Name of the division |
|
|
|
|
| researchName | string | Name of the research |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
boolean
|
|
|
|
|
|
|
|
true is unlocked, false if not
|
|
|
|
|
2024-08-16 11:02:23 +02:00
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 10 GB
|
|
|
|
|