Interface TsvValidationResult

interface TsvValidationResult {
    isValid: boolean;
    rowCount: number;
    columnCount?: number;
    error?: string;
    errorLine?: number;
}

Properties

isValid: boolean

Whether the content is valid TSV

rowCount: number

Number of rows detected

columnCount?: number

Number of columns (if consistent)

error?: string

Error message if invalid

errorLine?: number

Line number where error occurred