<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NetscriptPort](./bitburner.netscriptport.md) &gt; [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

