bitburner-src/markdown/bitburner.ns.serverexists.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

626 B

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 Host or IP of target server.

Returns:

boolean

True if specified server exists, and false otherwise.

Remarks

RAM cost: 0.1 GB