work to make documentation unified.

This commit is contained in:
Olivier Gagnon
2021-03-12 02:51:56 -05:00
parent a00c253dcb
commit 2ce6ff2041
176 changed files with 1325 additions and 916 deletions

View File

@@ -1,9 +1,14 @@
serverExists() Netscript Function
=================================
.. js:function:: serverExists(hostname/ip)
.. js:function:: serverExists(hostname)
:param string hostname/ip: Hostname or IP of target server
:RAM cost: 0.1 GB
:param string hostname: Hostname of target server.
:returns: ``true`` if the target server exists.
Returns a boolean denoting whether or not the specified server exists
Example:
.. code-block:: javascript
serverExists("foodnstuff"); // returns: true