> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getinstances

> Tra ve mot array table moi chua moi object value hien dang duoc luu trong Instance cache. Function khong nhan arguments. No khong loc theo Parent, ClassName, DataModel fieldship, nil-parent state, hoac Instance validity ngoai viec kiem tra moi registry value la object. Entries duoc copy vao table tra ve tai sequential numeric indexes bat dau tu 1. iteration order den tu table iteration tren cache va khong duoc function sap xep.

<div className="real-function-page">
  ```lua theme={null}
  getinstances(): { Instance }
  ```

  ## Giá trị trả về

  <ResponseField name={"instances"} type={"{ Instance }"}>
    Array table gom object values duoc copy tu Instance cache table.
  </ResponseField>
</div>
