Documentation
¶
Index ¶
- func If[T any](cond bool, t, f T) T
- func IfLazyL[T any](cond bool, t func() T, f T) T
- func IfLazyR[T any](cond bool, t T, f func() T) T
- func Map[T, U any](ts []T, f func(T) U) []U
- func Positive[T constraints.Integer](x T) T
- func SkipMapToSlice[K constraints.Ordered, V any](m rangeAble[K, V]) []V
- func ToJSON(v any) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Positive ¶
func Positive[T constraints.Integer](x T) T
func SkipMapToSlice ¶
func SkipMapToSlice[K constraints.Ordered, V any](m rangeAble[K, V]) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.