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
@@ -13,7 +13,7 @@ If the first argument is a string, then it specifies the name of a text file (.t
<b>Signature:</b>
```typescript
write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void;
write(handle: Handle, data?: string[] | number, mode?: "w" | "a"): void;
```
## Parameters
@@ -21,7 +21,7 @@ write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void
| Parameter | Type | Description |
| --- | --- | --- |
| handle | [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. |
| mode | "w" \| "a" | Defines the write mode. Only valid when writing to text files. |
<b>Returns:</b>