bitburner-src/markdown/bitburner.go.getopponent.md

18 lines
479 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Go](./bitburner.go.md) &gt; [getOpponent](./bitburner.go.getopponent.md)
## Go.getOpponent() method
2023-12-26 17:53:27 +01:00
Returns the name of the opponent faction in the current subnet.
**Signature:**
```typescript
2023-12-26 17:53:27 +01:00
getOpponent(): GoOpponent | "No AI" | "????????????";
```
**Returns:**
2023-12-26 17:53:27 +01:00
[GoOpponent](./bitburner.goopponent.md) \| "No AI" \| "????????????"