bitburner-src/markdown/bitburner.ns.hastorrouter.md

631 B

Home > bitburner > NS > hasTorRouter

NS.hasTorRouter() method

Returns whether the player has access to the darkweb.

Signature:

hasTorRouter(): boolean;

Returns:

boolean

Whether player has access to the dark web.

Remarks

RAM cost: 0.05GB

Example 1

// NS1:
if (hasTorRouter()) tprint("TOR router detected.");

Example 2

// NS2:
if (ns.hasTorRouter()) tprint("TOR router detected.");