(sources []*Type, target *Type)
| 165 | } |
| 166 | |
| 167 | func newArrayToSingleTypeMapper(sources []*Type, target *Type) *TypeMapper { |
| 168 | m := &ArrayToSingleTypeMapper{} |
| 169 | m.data = m |
| 170 | m.sources = sources |
| 171 | m.target = target |
| 172 | return &m.TypeMapper |
| 173 | } |
| 174 | |
| 175 | func (m *ArrayToSingleTypeMapper) Map(t *Type) *Type { |
| 176 | if slices.Contains(m.sources, t) { |
no outgoing calls
no test coverage detected