isFormatError
isFormatError(
error):error is FormatError
Defined in: packages/core/src/formats/errors.ts:150
Whether error is a FormatError. Duck-typed, not instanceof:
the error may cross a bundle boundary (two copies of core on a page).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
error | unknown |
Returns
Section titled “Returns”error is FormatError