mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 08:33:50 +01:00
22 lines
406 B
Markdown
22 lines
406 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [self](./bitburner.ns.self.md)
|
||
|
|
||
|
## NS.self() method
|
||
|
|
||
|
Returns the currently running script.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
self(): RunningScript;
|
||
|
```
|
||
|
**Returns:**
|
||
|
|
||
|
[RunningScript](./bitburner.runningscript.md)
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|