UNPKG

@analys/table-types

Version:

A cross-table-types analytics tool

16 lines (13 loc) 294 B
import { mapper } from '@vect/columns-mapper'; import { VectorType } from '@typen/vector-type'; const inferTypes = function ({ inferType, omitNull = true } = {}) { const table = this; return mapper(table.rows, VectorType({ inferType, omitNull })); }; export { inferTypes };