UNPKG

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
<!-- 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; [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.