gitlab.com/evatix-go/core@v1.3.55/isany/NullBoth.go (about)

     1  package isany
     2  
     3  func NullBoth(leftAnyItem, rightAnyItem interface{}) (isBothNull bool) {
     4  	leftNull := Null(leftAnyItem)
     5  
     6  	return leftNull && leftNull == Null(rightAnyItem)
     7  }