[Home](./index.md) > [bitburner](./bitburner.md) > [NetscriptPort](./bitburner.netscriptport.md) > [empty](./bitburner.netscriptport.empty.md) ## NetscriptPort.empty() method Check if the port is empty. **Signature:** ```typescript empty(): boolean; ``` **Returns:** boolean true if the port is empty, otherwise false ## Remarks RAM cost: 0 GB