mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 01:17:34 +01:00
24 lines
546 B
Markdown
24 lines
546 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.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getCurrentWork(): any | null;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
any \| null
|
||
|
|
||
|
- An object representing the current work. Fields depend on the kind of work.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0.5 GB \* 16/4/1
|
||
|
|