( value: V, index: FractionalIndex, )
| 7 | export type IndexedValue<V> = [V, FractionalIndex] |
| 8 | |
| 9 | export function indexedValue<V>( |
| 10 | value: V, |
| 11 | index: FractionalIndex, |
| 12 | ): IndexedValue<V> { |
| 13 | return [value, index] |
| 14 | } |
| 15 | |
| 16 | export function getValue<V>(indexedVal: IndexedValue<V>): V { |
| 17 | return indexedVal[0] |
no outgoing calls
no test coverage detected