mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
24 lines
450 B
Markdown
24 lines
450 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NetscriptPort](./bitburner.netscriptport.md) > [empty](./bitburner.netscriptport.empty.md)
|
||
|
|
||
|
## NetscriptPort.empty() method
|
||
|
|
||
|
Check if the port is empty.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
empty(): boolean;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
boolean
|
||
|
|
||
|
true if the port is empty, otherwise false
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|