mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
work to make documentation unified.
This commit is contained in:
@@ -4,5 +4,11 @@ getHostname() Netscript Function
|
||||
.. js:function:: getHostname()
|
||||
|
||||
:RAM cost: 0.05 GB
|
||||
:returns: Hostname of the server this script is running on.
|
||||
|
||||
Returns a string with the hostname of the server that the script is running on
|
||||
Example:
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
getHostname(); // returns: "foodnstuff"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user