ViewStoreError.isError Function
Determine whether an error object is a ViewStoreError
isError<T extends ViewStoreError>(error: unknown, key?: ViewStoreError.Key): error is T
| Parameter | Type | Description |
|---|---|---|
| error | unknown | |
| key | ViewStoreError.Key |
Returns - error is T
Defined in
- core/common/src/ITwinCoreErrors.ts Line 110
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.