Documentation ¶
Index ¶
- func If[T any](condition bool, positive, negative T) T
- func IfElse[T any](condition bool, positive, negative T) T
- func IfElseLazy[T any](condition bool, positiveFunc, negativeFunc func() T) T
- func IfElseLazy2[T any, K any](condition bool, positiveFunc, negativeFunc func() (T, K)) (T, K)
- func IfElseLazy3[T any, K any, M any](condition bool, positiveFunc, negativeFunc func() (T, K, M)) (T, K, M)
- func IfElseLazyNegative[T any](condition bool, positive T, negativeFunc func() T) T
- func IfElseLazyPositive[T any](condition bool, positiveFunc func() T, negative T) T
- func IfLazy[T any](condition bool, positiveFunc, negativeFunc func() T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfElseLazy ¶
func IfElseLazy2 ¶
func IfElseLazy3 ¶
func IfElseLazyNegative ¶
func IfElseLazyPositive ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.