MCPcopy Index your code
hub / github.com/microsoft/SandDance / inferTypes

Function inferTypes

docs/app/js/sanddance-app.js:109074–109079  ·  view source on GitHub ↗
(data, fields)

Source from the content-addressed store, hash-verified

109072 return typeList[a.reduce((u, v)=>u === 0 ? v : u, 0) - 1];
109073}
109074function inferTypes(data, fields) {
109075 return fields.reduce((types, field)=>{
109076 types[field] = inferType(data, field);
109077 return types;
109078 }, {});
109079}
109080function delimitedFormat(delimiter) {
109081 const parse1 = function(data, format1) {
109082 const delim = {

Callers 1

parseFunction · 0.70

Calls 1

inferTypeFunction · 0.70

Tested by

no test coverage detected