This commit is contained in:
Olivier Gagnon
2021-11-03 00:33:14 -04:00
parent 2b79871c02
commit d82f3e7ad7
71 changed files with 1313 additions and 1366 deletions
+2 -2
View File
@@ -9,14 +9,14 @@ Attempts to write data to the specified Netscript Port. If the port is full, the
<b>Signature:</b>
```typescript
tryWrite(port: Handle, data: string[] | number): boolean;
tryWrite(port: number, data: string[] | number): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| port | [Handle](./bitburner.handle.md) | Port or text file that will be written to. |
| port | number | Port or text file that will be written to. |
| data | string\[\] \| number | Data to write. |
<b>Returns:</b>