gitlab.com/evatix-go/core@v1.3.55/issetter/CombinedBooleans.go (about)

     1  package issetter
     2  
     3  // CombinedBooleans
     4  //
     5  //  Any false, final result returns as False or else True
     6  func CombinedBooleans(
     7  	isConditions ...bool,
     8  ) Value {
     9  	for _, isCondition := range isConditions {
    10  		if !isCondition {
    11  			return False
    12  		}
    13  	}
    14  
    15  	return True
    16  }