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