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

33 lines
886 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +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; [getAugmentationPrereq](./bitburner.singularity.getaugmentationprereq.md)
## Singularity.getAugmentationPrereq() method
2021-12-03 20:12:32 +01:00
SF4.3 - Get the pre-requisite of an augmentation.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
2021-11-03 05:27:21 +01:00
getAugmentationPrereq(augName: string): string[];
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 05:27:21 +01:00
| augName | string | Name of Augmentation. |
2021-10-30 18:34:14 +02:00
<b>Returns:</b>
2021-11-03 05:27:21 +01:00
string\[\]
2021-10-30 18:34:14 +02:00
Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.
## Remarks
2021-11-03 05:27:21 +01:00
RAM cost: 5 GB
This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.