Skip to content

Documentation / @einvoice-ts/core / isFatal

Function: isFatal() ​

isFatal(issue): boolean

Defined in: packages/core/src/issue.ts:241

Whether an issue makes the document invalid.

Parameters ​

issue ​

Issue

The issue to inspect.

Returns ​

boolean

true for fatal issues.

Example ​

ts
import { isFatal } from '@einvoice-ts/core';

const blocking = issues.filter(isFatal);

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.