Function: orphanComment()
orphanComment(
position):AstmRecordWarning
Build an ASTM_RECORD_ORPHAN_COMMENT warning. Emitted when a C record had no
valid preceding H/P/O/R parent; the comment is attached to the message
root and surfaced, never dropped.
Parameters
position
Returns
Example
import { orphanComment } from "@cosyte/astm";
orphanComment({ recordIndex: 5, recordType: "C" });