gitlab.com/evatix-go/core@v1.3.55/conditional/AnyFunctionsExecuteResults.go (about) 1 package conditional 2 3 func AnyFunctionsExecuteResults( 4 isTrue bool, 5 trueValueFunctions, falseValueFunctions []func() ( 6 result interface{}, 7 isTake, 8 isBreak bool, 9 ), 10 ) []interface{} { 11 if isTrue { 12 return executeAnyFunctions(trueValueFunctions) 13 } 14 15 return executeAnyFunctions(falseValueFunctions) 16 }