MCPcopy Create free account
hub / github.com/Rello/analytics / rawSource

Function rawSource

js/visualization.js:1065–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063 */
1064 convertDataToDataTableFormat: function (originalData, tableOptions, header, timeAggregationDisplayConfig = null, columnRefs = []) {
1065 const rawSource = index => !!this.getTableColumnFormat(tableOptions,
1066 this.getTableColumnReference('source', index, header[index], null, columnRefs[index]));
1067 const rawValue = value => typeof value === 'string' && !/^0\d/.test(value) && /^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?$/i.test(value)
1068 && Number.isFinite(Number(value)) ? Number(value) : value;
1069 let layoutConfig = tableOptions.layout !== undefined ? tableOptions.layout : false;

Callers 1

visualization.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected