Function: danglingReleaseChar()
danglingReleaseChar(
position):X12ParseWarning
Build an X12_DANGLING_RELEASE_CHAR warning. Emitted when a release
character (? per ASC X12 convention; see
"./release.js".RELEASE_CHAR) appears at the end of a segment or
element with no following byte to escape - the bytes are preserved
verbatim so round-trip stays byte-exact, but the structural truncation
is flagged so consumers can decide how to react.
Parameters
position
Returns
Example
import { danglingReleaseChar } from "@cosyte/x12";
const w = danglingReleaseChar({ segmentIndex: 7, interchangeIndex: 0 });