getinstancecache
Returns the module instance cache.
Syntax
getinstancecache() -> table
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
table | The module instance cache |
Description
getinstancecache is part of the Instances library. Instance helpers traverse the live DataModel and return instance proxies tied to the current game session.
The call is read-only: it resolves the current value when invoked and does not change the underlying state.
Example
local cache = getinstancecache()
print(cache)
Notes
- Returned instances are live proxies; they can become invalid if the object is destroyed.