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

15 lines
399 B
ReStructuredText

getServerMinSecurityLevel() Netscript Function
==============================================
.. js:function:: getServerMinSecurityLevel(hostname)
:RAM cost: 0.1 GB
:param string hostname: Hostname of target server.
:returns: The minimum security level of the target server.
Example:
.. code-block:: javascript
getServerMinSecurityLevel('foodnstuff'); // returns: 3