[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [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. Signature: ```typescript getTaskNames(): GangTasks[]; ``` Returns: [GangTasks](./bitburner.gangtasks.md)\[\] All valid tasks that Gang members can be assigned to. ## Remarks RAM cost: 1 GB