(dim: DimensionLoose)
| 446 | } |
| 447 | |
| 448 | private _getStoreDimIndex(dim: DimensionLoose): DimensionIndex { |
| 449 | const dimIdx = this.getDimensionIndex(dim); |
| 450 | if (__DEV__) { |
| 451 | if (dimIdx == null) { |
| 452 | throw new Error('Unknown dimension ' + dim); |
| 453 | } |
| 454 | } |
| 455 | return dimIdx; |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * Get type and calculation info of particular dimension |
no test coverage detected