UNPKG

hytopia

Version:

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

56 lines (27 loc) 739 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; [get](./server.iterationmap.get.md) ## IterationMap.get() method Returns the value associated with the key, or undefined if the key doesn't exist. **Signature:** ```typescript get(key: K): V | undefined; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> key </td><td> K </td><td> The key to look up. </td></tr> </tbody></table> **Returns:** V \| undefined The value associated with the key, or undefined.