<!-- 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; [has](./server.iterationmap.has.md)

## IterationMap.has() method

Returns true if the key exists in the IterationMap.

**Signature:**

```typescript
has(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 check.


</td></tr>
</tbody></table>
**Returns:**

boolean

True if the key exists, false otherwise.

