MCPcopy Create free account
hub / github.com/handsontable/handsontable / createDuckSchema

Method createDuckSchema

handsontable/src/dataMap/dataMap.ts:335–337  ·  view source on GitHub ↗

* Creates the duck schema based on the current dataset. * * @returns {Array|object}

()

Source from the content-addressed store, hash-verified

333 * @returns {Array|object}
334 */
335 createDuckSchema() {
336 return this.dataSource && this.dataSource![0] ? duckSchema(this.dataSource![0]) : {};
337 }
338
339 /**
340 * Refresh the data schema.

Callers 1

refreshDuckSchemaMethod · 0.95

Calls 1

duckSchemaFunction · 0.90

Tested by

no test coverage detected