gitlab.com/evatix-go/core@v1.3.55/conditional/Interfaces.go (about) 1 package conditional 2 3 func Interfaces( 4 isTrue bool, 5 trueValue, falseValue []interface{}, 6 ) []interface{} { 7 if isTrue { 8 return trueValue 9 } 10 11 return falseValue 12 }