MCPcopy 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 */
108export function isValidHandle(handle: EntityHandle): boolean {
109 return handle !== NULL_HANDLE;
110}
111
112/**
113 * 比较两个句柄是否相等

Callers 3

destroyEntitiesMethod · 0.90
findEntityByHandleMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected