mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
14 lines
338 B
ReStructuredText
14 lines
338 B
ReStructuredText
serverExists() Netscript Function
|
|
=================================
|
|
|
|
.. js:function:: serverExists(hostname)
|
|
|
|
:RAM cost: 0.1 GB
|
|
:param string hostname: Hostname of target server.
|
|
:returns: ``true`` if the target server exists.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
serverExists("foodnstuff"); // returns: true |