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
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [IterationMap](./server.iterationmap.md) > [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.