mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
31 lines
538 B
Markdown
31 lines
538 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hasTorRouter](./bitburner.ns.hastorrouter.md)
|
|
|
|
## NS.hasTorRouter() method
|
|
|
|
Returns whether the player has access to the darkweb.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
hasTorRouter(): boolean;
|
|
```
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
Whether player has access to the dark web.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.05GB
|
|
|
|
## Example
|
|
|
|
|
|
```js
|
|
if (ns.hasTorRouter()) ns.tprint("TOR router detected.");
|
|
```
|
|
|