(data: OptionSourceDataObjectRows)
| 401 | } |
| 402 | |
| 403 | function objectRowsCollectDimensions(data: OptionSourceDataObjectRows): DimensionDefinitionLoose[] { |
| 404 | let firstIndex = 0; |
| 405 | let obj; |
| 406 | while (firstIndex < data.length && !(obj = data[firstIndex++])) {} // jshint ignore: line |
| 407 | if (obj) { |
| 408 | return keys(obj); |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'], |
| 413 | // which is reasonable. But dimension name is duplicated. |
no outgoing calls
no test coverage detected
searching dependent graphs…