<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [motion-sdk](./motion-sdk.md) &gt; [isClosedError](./motion-sdk.isclosederror.md)

## isClosedError() function

Type assertion for [ClosedError](./motion-sdk.closederror.md)<!-- -->.

**Signature:**

```typescript
export declare function isClosedError(o: unknown): o is ClosedError;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

o


</td><td>

unknown


</td><td>


</td></tr>
</tbody></table>
**Returns:**

o is [ClosedError](./motion-sdk.closederror.md)

