mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 06:03:50 +01:00
27 lines
610 B
Markdown
27 lines
610 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [hasUnlockUpgrade](./bitburner.corporation.hasunlockupgrade.md)
|
||
|
|
||
|
## Corporation.hasUnlockUpgrade() method
|
||
|
|
||
|
Check if you have a one time unlockable upgrade
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
hasUnlockUpgrade(upgradeName: string): boolean;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| upgradeName | string | Name of the upgrade |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
boolean
|
||
|
|
||
|
true if unlocked and false if not
|
||
|
|