UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

18 lines (10 loc) 602 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [IterationMap](./server.iterationmap.md) &gt; [valuesArray](./server.iterationmap.valuesarray.md) ## IterationMap.valuesArray property Returns a readonly array of all values for fast iteration. This is the key performance feature - use this instead of .values() for iteration. \*\*Side effects:\*\* Rebuilds the backing array when the map has changed. \*\*Category:\*\* Utilities **Signature:** ```typescript get valuesArray(): readonly V[]; ```