mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-19 20:38:42 +02:00
28 lines
714 B
Markdown
28 lines
714 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [createCorporation](./bitburner.corporation.createcorporation.md)
|
|
|
|
## Corporation.createCorporation() method
|
|
|
|
Create a Corporation
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
createCorporation(corporationName: string, selfFund: boolean): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| corporationName | string | Name of the corporation |
|
|
| selfFund | boolean | If you should self fund, defaults to true, false will only work on Bitnode 3 |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
true if created and false if not
|
|
|