(handle: EntityHandle)
| 129 | * @returns 字符串表示 | String representation |
| 130 | */ |
| 131 | export function handleToString(handle: EntityHandle): string { |
| 132 | if (handle === NULL_HANDLE) { |
| 133 | return 'Entity(NULL)'; |
| 134 | } |
| 135 | return `Entity(idx=${indexOf(handle)}, gen=${genOf(handle)})`; |
| 136 | } |
no test coverage detected