mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +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