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

x/x12/mod.ts>X12Segment#valueOf

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

Parameters

segmentPosition: number
  • A 1-based number indicating the position in the segment.
optional
defaultValue: string

Returns

string | null

If no element is at this position, null or the default value will be returned.