bitburner.ns.clear.md
September 26, 2025 ยท View on GitHub
NS.clear() method
Clear data from a file.
Signature:
clear(handle: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
handle |
string |
Text file to clear. |
Returns:
void
Remarks
RAM cost: 0 GB
Delete all data from that text file.