UNPKG

@dpkit/table

Version:

Data Package implementation in TypeScript.

12 lines (11 loc) 342 B
import type { Schema } from "@dpkit/core"; import type { TableError } from "../error/index.ts"; import type { Table } from "./Table.ts"; export declare function validateTable(table: Table, options?: { schema?: Schema; sampleRows?: number; invalidRowsLimit?: number; }): Promise<{ errors: TableError[]; valid: boolean; }>;