Home > bitburner > Singularity > getFactionEnemies
Get a list of enemies of a faction.
Signature:
getFactionEnemies(faction: FactionName): string[];|
Parameter |
Type |
Description |
|---|---|---|
|
faction |
Name of faction. |
Returns:
string[]
Array containing the names of all enemies of the faction.
RAM cost: 3 GB * 16/4/1
Returns an array containing the names (as strings) of all factions that are enemies of the specified faction.