Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ isValidHandle
Function
isValidHandle
packages/core/src/ECS/Core/EntityHandle.ts:108–110 ·
view source on GitHub ↗
(handle: EntityHandle)
Source
from the content-addressed store, hash-verified
106
* @returns 是否有效 | Whether valid
107
*/
108
export
function
isValidHandle(handle: EntityHandle): boolean {
109
return
handle !== NULL_HANDLE;
110
}
111
112
/**
113
* 比较两个句柄是否相等
Callers
3
destroyEntities
Method · 0.90
findEntityByHandle
Method · 0.90
EntityHandle.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected