Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/x12/src/X12Segment.ts>X12Segment#insertElement

ASC X12 parser, generator, query engine, and mapper; now with support for streams.
Latest
method X12Segment.prototype.insertElement
import { X12Segment } from "https://deno.land/x/x12@1.8.0-1/src/X12Segment.ts";

Parameters

optional
value = [UNSUPPORTED]
  • A string value.
optional
segmentPosition = [UNSUPPORTED]
  • A 1-based number indicating the position in the segment.

Returns

boolean

True if successful, or false if failed.