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

31 lines
606 B
Markdown
Raw Permalink 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; [hasUnlock](./bitburner.corporation.hasunlock.md)
## Corporation.hasUnlock() method
Check if you have a one-time unlockable upgrade.
**Signature:**
```typescript
hasUnlock(upgradeName: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgradeName | string | Name of the upgrade |
**Returns:**
boolean
true if unlocked and false if not
## Remarks
RAM cost: 10 GB