Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Coalesce ¶
func Coalesce[T comparable](list ...T) T
func In ¶
func In[T comparable](item T, list ...T) bool
func IsNil ¶ added in v0.1.2
IsNil reports whether v is nil. Unlike reflect.IsNil(), it won't panic.
The Go team decided not to add "zero" to the language. https://github.com/golang/go/issues/61372
func IsZero ¶ added in v0.1.2
func IsZero[T comparable](v T) bool
IsZero reports whether v is zero. Unlike reflect.IsZero(), it won't panic.
The Go team decided not to add "zero" to the language. https://github.com/golang/go/issues/61372
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.