Documentation
¶
Overview ¶
Package utilx provides additional utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶ added in v0.1.9
func And[T comparable](a, b T) T
And works similar to "&&" in other languages.
func Empty ¶
func Empty[T comparable](value T) bool
Empty returns true of the given value is equal to the default empty value.
func NotEmpty ¶
func NotEmpty[T comparable](value T) bool
NotEmpty returns true of the given value is not equal to the default empty value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.