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