mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +01:00
24 lines
469 B
Markdown
24 lines
469 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentServer](./bitburner.singularity.getcurrentserver.md)
|
|
|
|
## Singularity.getCurrentServer() method
|
|
|
|
Get the current server.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getCurrentServer(): string;
|
|
```
|
|
**Returns:**
|
|
|
|
string
|
|
|
|
Name of the current server.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2 GB \* 16/4/1
|
|
|