gitlab.com/evatix-go/core@v1.3.55/isany/DefinedBoth.go (about) 1 package isany 2 3 func DefinedBoth(leftAnyItem, rightAnyItem interface{}) (isBothDefined bool) { 4 leftNull := Null(leftAnyItem) 5 6 return !leftNull && leftNull == Null(rightAnyItem) 7 }