Other

collectgarbage

Supports only the 'count' action, returning memory in use in kilobytes. Any other action raises a capability error.

Syntax

collectgarbage(action: string): number