mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-01 12:03:47 +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