UNPKG

@uwdata/mosaic-core

Version:

Scalable and extensible linked data views.

11 lines 405 B
/** * Test if a value is a Flechette Arrow table. * We use a "duck typing" approach and check for a getChild function. * @param values The value to test * @returns true if the value duck types as Arrow data */ export function isArrowTable(values) { // @ts-expect-error check property of unknown value return typeof values?.getChild === 'function'; } //# sourceMappingURL=is-arrow-table.js.map