(o, kp: string[])
| 9 | // if at any point the value for the current key does not exist, |
| 10 | // return the default value |
| 11 | export const deepGet = (o, kp: string[]) => keys(kp).reduce((o, k) => o && o[k], o) |
| 12 | |
| 13 | // traverse the set of keys right to left, |
| 14 | // returning a new object containing both properties from the object |
no test coverage detected