7 lines
233 B
Go
Raw Permalink Normal View History

2022-04-20 11:32:13 +02:00
package extractors
// SupportsMap determines if the extractor type requires a map
func SupportsMap(extractor *Extractor) bool {
return extractor.Type.ExtractorType == KValExtractor || extractor.Type.ExtractorType == DSLExtractor
}