# Destroy

Destroys and removes each instance of a class (usually of [Base](https://stefanuk12.gitbook.io/r-esp-1/esp-object-classes/base)) in the `TableObject`.

## Parameters

<table><thead><tr><th>Name</th><th>Description</th><th>Type</th><th>Default</th><th data-type="checkbox">Optional</th></tr></thead><tbody><tr><td>TableObject</td><td>A table with all of the objects</td><td>table</td><td>N/A</td><td>false</td></tr></tbody></table>

## Return

`<nil>`
