github.com/m4gshm/gollections@v0.0.10/op/check/not/api.go (about) 1 // Package not provides negalive predicates like 'not equals to' 2 package not 3 4 import "github.com/m4gshm/gollections/op/check" 5 6 // Nil - not.Nil checks whether the reference is not nil 7 func Nil[T any](reference *T) bool { 8 return check.NotNil(reference) 9 }