bitburner-src/markdown/bitburner.singularity.getcompanypositions.md

43 lines
1009 B
Markdown
Raw Normal View History

2023-04-07 13:49:11 +02:00
<!-- 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; [getCompanyPositions](./bitburner.singularity.getcompanypositions.md)
## Singularity.getCompanyPositions() method
Get List of Company Positions.
**Signature:**
```typescript
getCompanyPositions(companyName: string): JobName[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| companyName | string | Name of company to get the position list for. Must be an exact match. |
**Returns:**
[JobName](./bitburner.jobname.md)<!-- -->\[\]
The position list if the company name is valid.
## Remarks
RAM cost: 2 GB \* 16/4/1
This function will return a list of positions at a specific company.
This function will return the position list if the company name is valid.
2023-04-28 20:19:30 +02:00
## Example
2023-04-07 13:49:11 +02:00
```js
2023-04-28 20:19:30 +02:00
const companyName = "Noodle Bar";
const jobList = ns.singularity.getCompanyPositions(companyName);
2023-04-07 13:49:11 +02:00
```