get_path/2 is an Erlang function exported by "age_maps" module. Returns the value of a key recursively with a map tree structure with other embedded map structures. When the search path is empty or invalid (contains invalid keys or key sequence) then the function returns 'undefined'. The code sample below investigates the following map structure with two-level embedded maps within, such as: #{ a => 1, b => #{ c => 2, d => #{ e => 3 } } } |
|
|