bitburner-src/markdown/bitburner.ns.clear.md

31 lines
521 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [clear](./bitburner.ns.clear.md)
## NS.clear() method
Clear data from a file.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
clear(handle: string): void;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| handle | string | Text file to clear. |
2021-10-30 18:34:14 +02:00
<b>Returns:</b>
void
## Remarks
RAM cost: 0 GB
Delete all data from that text file.
2021-10-30 18:34:14 +02:00