ElementError.isError Function
Determine whether an error object is an ElementError
isError(error: unknown, key?: ElementError.Key): error is ITwinError
| Parameter | Type | Description |
|---|---|---|
| error | unknown | |
| key | ElementError.Key |
Returns - error is ITwinError
Defined in
- core/common/src/ITwinCoreErrors.ts Line 303
Last Updated: 08 July, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.