mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
26 lines
858 B
Markdown
26 lines
858 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|||
|
|
|||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [isBusy](./bitburner.singularity.isbusy.md)
|
|||
|
|
|||
|
## Singularity.isBusy() method
|
|||
|
|
|||
|
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.
|
|||
|
|
|||
|
Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission.
|
|||
|
|
|||
|
<b>Signature:</b>
|
|||
|
|
|||
|
```typescript
|
|||
|
isBusy(): boolean;
|
|||
|
```
|
|||
|
<b>Returns:</b>
|
|||
|
|
|||
|
boolean
|
|||
|
|
|||
|
True if the player is currently performing an ‘action’, false otherwise.
|
|||
|
|
|||
|
## Remarks
|
|||
|
|
|||
|
0.5 GB Level 1
|
|||
|
|