[Home](./index.md) > [bitburner](./bitburner.md) > [IPort](./bitburner.iport.md) > [tryWrite](./bitburner.iport.trywrite.md) ## IPort.tryWrite property add data to port if not full. Signature: ```typescript tryWrite: (value: any) => boolean; ```