bitburner-src/markdown/bitburner.corporation.hasunlockupgrade.md

27 lines
604 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [hasUnlockUpgrade](./bitburner.corporation.hasunlockupgrade.md)
## Corporation.hasUnlockUpgrade() method
Check if you have a one time unlockable upgrade
**Signature:**
```typescript
hasUnlockUpgrade(upgradeName: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgradeName | string | Name of the upgrade |
**Returns:**
boolean
true if unlocked and false if not