mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 15:42:28 +01:00
606 B
606 B
Home > bitburner > Corporation > hasUnlock
Corporation.hasUnlock() method
Check if you have a one-time unlockable upgrade.
Signature:
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