Files
bitburner-src/markdown/bitburner.corporation.hascorporation.md
catloversg 6e1848dd79 CORPORATION: Add new API to check if player can create corporation (#1598)
* CORPORATION: Add new API to check if player can create corporation
* Update description of createCorporation API
* Return enum instead of true/false
* Use throwIfReachable
* Fix typo in comment
2024-11-30 21:49:19 -08:00

512 B

Home > bitburner > Corporation > hasCorporation

Corporation.hasCorporation() method

Return whether the player has a corporation. Does not require API access.

Signature:

hasCorporation(): boolean;

Returns:

boolean

Whether the player has a corporation

Remarks

RAM cost: 0 GB