[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionFavor](./bitburner.singularity.getfactionfavor.md)
## Singularity.getFactionFavor() method
SF4.2 - Get faction favor.
Signature:
```typescript
getFactionFavor(faction: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of faction. |
Returns:
number
Amount of favor you have for the specified faction.
## Remarks
RAM cost: 1 GB
This function returns the amount of favor you have for the specified faction.