clean
On this page
clean()
This function is used to clean stuff up, reducing RAM usage, and removing unnecessary database entries.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| options | CleanOptions | ❌ | The options for the clean. |
Returns
Section titled “Returns”void
Throws
Section titled “Throws”XpFatal- If something goes wrong (somehow).
[JS] Example
Section titled “[JS] Example”const {clean} = require('simply-xp');
clean() // Returns void