helper function to safely resolve anything
this is not an elvis operator, it resolves
a value without exception in a tree and if
it is not resolvable then an optional of
a default value is restored or Optional.empty
if none is given
usage
let var: Optiona = saveResolve(() => a.b.c.d.e, "foobaz")
helper function to safely resolve anything this is not an elvis operator, it resolves a value without exception in a tree and if it is not resolvable then an optional of a default value is restored or Optional.empty if none is given
usage
let var: Optiona = saveResolve(() => a.b.c.d.e, "foobaz")