Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseNonZeroOrDefault ¶
func UseNonZeroOrDefault[T any](in T, def T) T
UseNonZeroOrDefault returns the input if not effectively zero, otherwise returns the default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.