mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 08:57:32 +01:00
576 B
576 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