Skip to content
Melonity Docs
Search
K
Main Navigation
Home
Menu
Return to top
On this page
GetByIndex
Retrieves an entity by its index.
GetByIndex<T = Entity>(index: number)
T | null
index
number
- The index of the entity to retrieve.
Returned:
T | null
- The entity that matches the provided index. If no entity is found, null is returned.