Function: missingIea()
missingIea(
position):X12ParseWarning
Build an X12_MISSING_IEA warning. Emitted when the input opened a
valid ISA but EOF arrived before any IEA segment. The parser returns the
groups it managed to decode with iea: undefined; the warning surfaces
the structural break so consumers know the interchange is truncated.
Parameters
position
Returns
Example
import { missingIea } from "@cosyte/x12";
const w = missingIea({ segmentIndex: 4, interchangeIndex: 0 });