Hyperlinkv0.8.0-beta.28

ErrorReporter

ErrorReporter.isIgnoredconsteffect/ErrorReporter.ts:381
(u: unknown): boolean

Returns true if the given value has the ErrorReporter.ignore annotation set to true.

When to use

Use to check whether an error value is annotated to be skipped before forwarding it to error reporting code.

annotationsignore
export const isIgnored = (u: unknown): boolean =>
  typeof u === "object" && u !== null && ignore in u && u[ignore] === true
Referenced by 1 symbols