Skip to main content

clean()

This function is used to clean stuff up, reducing RAM usage, and removing unnecessary database entries.

Parameters​

ParameterTypeRequiredDescription
optionsCleanOptions❌The options for the clean.

Returns​

  • void

Throws​

  • XpFatal - If something goes wrong (somehow).

[JS] Example​

const {clean} = require('simply-xp');

clean() // Returns void