Documentation ¶
Index ¶
- func Assert[T any](in any, ifFailed T) T
- func AssertAsFloat(in any, ifFailed float64) float64
- func AssertAsInt(in any, ifFailed int) int
- func AssertPanic[T any](in any) T
- func Ite[T any](conExpr bool, ifTrue, ifFalse T) T
- func IteFunc[T any](conExpr bool, ifTrue, ifFalse func() T) T
- func IteFuncElse[T any](conExpr bool, ifTrue T, ifFalse func() T) T
- func IteFuncTrue[T any](conExpr bool, ifTrue func() T, ifFalse T) T
- func NotNil(a ...any) bool
- func PanicIfNil(a ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAsFloat ¶
func AssertAsInt ¶
func AssertPanic ¶
func IteFuncElse ¶
func IteFuncTrue ¶
func PanicIfNil ¶
func PanicIfNil(a ...any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.