<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [getTaskNames](./bitburner.gang.gettasknames.md)

## Gang.getTaskNames() method

If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.

Get the name of all valid tasks that Gang members can be assigned to.

<b>Signature:</b>

```typescript
getTaskNames(): GangTasks[];
```
<b>Returns:</b>

[GangTasks](./bitburner.gangtasks.md)<!-- -->\[\]

All valid tasks that Gang members can be assigned to.

## Remarks

RAM cost: 1 GB