bitburner-src/doc/source/netscript/basicfunctions/serverExists.rst
2021-03-12 02:51:56 -05:00

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