<!-- 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