The method does this:
```Ruby
 ->(obj) { obj.is_a?(Hash) ?  obj.each { |_, v| v.deep_merge!(hash) } : obj }
```
I do not see any type here, I do not know why is called add_type