Effect-ts HashMap.getPath Function

Does effect have a function which takes path of the props and return an Option ?

const input = { a: { b: { c: 1 } } }; // if this safely parsed object exists

// Something like this could return an option and future steps would map over val.
const val = HashMap.path (input, ['a', 'b', 'c']); 


I saw HashMap.get (https://effect-ts.github.io/effect/effect/HashMap.ts.html#get) but it still takes just one prop, not a path.
Was this page helpful?