Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (17 loc) · 622 Bytes

bitburner.ns.serverexists.md

File metadata and controls

30 lines (17 loc) · 622 Bytes

Home > bitburner > NS > serverExists

NS.serverExists() method

Returns a boolean denoting whether or not the specified server exists.

Signature:

serverExists(host: string): boolean;

Parameters

Parameter Type Description
host string Hostname of target server.

Returns:

boolean

True if the specified server exists, and false otherwise.

Remarks

RAM cost: 0.1 GB