Equal¶
func Equal[T comparable](a, b *T) bool
Equal compares two pointers for equality. Returns true if both are nil or both point to equal values. Returns false if one is nil and the other is not.
func Equal[T comparable](a, b *T) bool
Equal compares two pointers for equality. Returns true if both are nil or both point to equal values. Returns false if one is nil and the other is not.