mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
24 lines
540 B
Markdown
24 lines
540 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentWork](./bitburner.singularity.getcurrentwork.md)
|
|
|
|
## Singularity.getCurrentWork() method
|
|
|
|
Get the current work the player is doing.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getCurrentWork(): any | null;
|
|
```
|
|
**Returns:**
|
|
|
|
any \| null
|
|
|
|
- An object representing the current work. Fields depend on the kind of work.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.5 GB \* 16/4/1
|
|
|