<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [ModelRegistry](./server.modelregistry.md) &gt; [hasModel](./server.modelregistry.hasmodel.md)

## ModelRegistry.hasModel() method

Checks if a model is registered in the model registry.

**Signature:**

```typescript
hasModel(modelUri: string): boolean;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

modelUri


</td><td>

string


</td><td>

The URI of the model to check.


</td></tr>
</tbody></table>
**Returns:**

boolean

Whether the model is registered.

\*\*Category:\*\* Models

