(value any)
| 932 | switch item := value.(type) { |
| 933 | case map[string]any: |
| 934 | return item, true |
| 935 | case map[string]string: |
| 936 | out := make(map[string]any, len(item)) |
| 937 | for key, value := range item { |
| 938 | out[key] = value |
| 939 | } |
| 940 | return out, true |
| 941 | } |
| 942 | rv := reflect.ValueOf(value) |
| 943 | if rv.Kind() == reflect.Pointer { |
| 944 | if rv.IsNil() { |
| 945 | return nil, false |
| 946 | } |
| 947 | rv = rv.Elem() |
| 948 | } |
no outgoing calls
no test coverage detected