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

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