← All docs

gc_collect_cycles()

Forces collection of any existing garbage cycles.

gc_collect_cycles()

function gc_collect_cycles(): int

Forces collection of any existing garbage cycles.

Parameters: none.

Returns: int

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how gc_collect_cycles is implemented in the compiler, see the internals page.