hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 714 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [IterationMap](./server.iterationmap.md) > [delete](./server.iterationmap.delete.md)
## IterationMap.delete() method
Removes the key-value pair from the IterationMap.
**Signature:**
```typescript
delete(key: K): boolean;
```
## 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 delete.
</td></tr>
</tbody></table>
**Returns:**
boolean
True if the key existed and was deleted, false otherwise.