Skip to content

GetByHandle

Retrieves an entity by its handle.


GetByHandle<T = Entity>(handle: number)T | null

  • handlenumber - The handle of the entity to retrieve.

Returned:

  • T | null - The entity that matches the provided handle. If no entity is found, null is returned