mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
31 lines
620 B
Markdown
31 lines
620 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [serverExists](./bitburner.ns.serverexists.md)
|
|
|
|
## NS.serverExists() method
|
|
|
|
Returns a boolean denoting whether or not the specified server exists.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
serverExists(host: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| host | string | Host of target server. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
True if specified server exists, and false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.1 GB
|
|
|