(value: LocationIndex, previous: any)
| 27 | } |
| 28 | |
| 29 | function getLocationIndex(value: LocationIndex, previous: any) { |
| 30 | if (is(Number, value) && value < 0) { |
| 31 | return previous.length + value; |
| 32 | } |
| 33 | return value; |
| 34 | } |
| 35 | |
| 36 | function getLocationPath(location: LocationIndex[], obj: any) { |
| 37 | const current = []; |
no test coverage detected
searching dependent graphs…