Skip to main content
Version: v0.0.4

Function: ambiguousValueSplit()

ambiguousValueSplit(position): AstmRecordWarning

Build an ASTM_RECORD_AMBIGUOUS_VALUE_SPLIT warning. Emitted when a result value field split on an unescaped component delimiter - the full raw value and the split are both surfaced, never a silent truncation.

Parameters

position

AstmPosition

Returns

AstmRecordWarning

Example

import { ambiguousValueSplit } from "@cosyte/astm";
ambiguousValueSplit({ recordIndex: 3, recordType: "R", fieldIndex: 4 });