class Dry::Core::Container::Item

def map(func)

Other tags:
    Private: -
def map(func)
  if callable?
    self.class.new(-> { func.(item.call) }, options)
  else
    self.class.new(func.(item), options)
  end
end