code: def infer_map(value: Mapping[GenericAny, GenericAny]) -> Map:
      
      if not value:
          return Map(null, null)
      return Map(
          highest_precedence(map(infer, value.keys())),
          highest_precedence(map(infer, value.values())),
      )
docs: Infer the :class:`~ibis.expr.datatypes.Map` type of `value`.