Skip to content

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).

ParameterType
errorunknown

error is FormatError