Are there functions similar to Ruby's `dig` in other languages?

I really like using Ruby's Array#dig and Hash#dig operator (introduced in Ruby 2.3) to quickly and safely access deeply nested structures.I would love to see different versions of it in other languages so I can use them more too!


Are there functions similar to Ruby's `dig` in other languages? #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/are-there-functions-similar-to-ruby-s-dig-in-other-languages

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles