Skip to main content
Version: v0.0.4

Function: unknownRecordType()

unknownRecordType(position): AstmRecordWarning

Build an ASTM_RECORD_UNKNOWN_TYPE warning. The record is still surfaced (as an unsupported record), never dropped.

Parameters

position

AstmPosition

Returns

AstmRecordWarning

Example

import { unknownRecordType } from "@cosyte/astm";
unknownRecordType({ recordIndex: 3, recordType: "Z" });