bitburner-src/markdown/bitburner.singularity.getcompanyfavor.md
Olivier Gagnon 2b79871c02 doc
2021-11-03 00:27:21 -04:00

35 lines
799 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getCompanyFavor](./bitburner.singularity.getcompanyfavor.md)
## Singularity.getCompanyFavor() method
Get company favor.
<b>Signature:</b>
```typescript
getCompanyFavor(companyName: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| companyName | string | Name of the company. |
<b>Returns:</b>
number
Amount of favor you have at the specified company.
## Remarks
RAM cost: 1 GB
Singularity - Level 2
This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.