hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
58 lines (28 loc) • 766 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [ModelRegistry](./server.modelregistry.md) > [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