Documentation ¶
Index ¶
- func If[T any](condition bool, trueVal, falseVal T) T
- func IfFunc[T any](condition bool, trueFunc func() T, falseFunc func() T) T
- func IfFuncPair[T1 any, T2 any](condition bool, trueFunc func() (T1, T2), falseFunc func() (T1, T2)) (T1, T2)
- func LoopAlways(always bool, do func())
- func LoopAlwaysReturn[T any](always bool, do func() T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfFuncPair ¶
func LoopAlways ¶
func LoopAlways(always bool, do func())
func LoopAlwaysReturn ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.