gitlab.com/evatix-go/core@v1.3.55/coredata/coredynamic/ReflectValToInterfacesUsingProcessor.go (about)

     1  package coredynamic
     2  
     3  import (
     4  	"reflect"
     5  
     6  	"gitlab.com/evatix-go/core/internal/reflectinternal"
     7  )
     8  
     9  func ReflectValToInterfacesUsingProcessor(
    10  	isSkipOnNil bool,
    11  	processorFunc func(item interface{}) (result interface{}, isTake, isBreak bool),
    12  	reflectVal reflect.Value,
    13  ) []interface{} {
    14  	return reflectinternal.ReflectValToInterfacesUsingProcessor(
    15  		isSkipOnNil,
    16  		processorFunc,
    17  		reflectVal)
    18  }