Documentation
¶
Index ¶
- func If(condition bool, t any, f any) any
- func IfBool(condition bool, t bool, f bool) bool
- func IfByte(condition bool, t byte, f byte) byte
- func IfFloat32(condition bool, t float32, f float32) float32
- func IfFloat64(condition bool, t float64, f float64) float64
- func IfFunction(condition bool, t function, f function) function
- func IfInt(condition bool, t int, f int) int
- func IfInt8(condition bool, t int8, f int8) int8
- func IfInt16(condition bool, t int16, f int16) int16
- func IfInt32(condition bool, t int32, f int32) int32
- func IfInt64(condition bool, t int64, f int64) int64
- func IfRune(condition bool, t rune, f rune) rune
- func IfString(condition bool, t string, f string) string
- func IfUint8(condition bool, t uint8, f uint8) uint8
- func IfUint16(condition bool, t uint16, f uint16) uint16
- func IfUint32(condition bool, t uint32, f uint32) uint32
- func IfUint64(condition bool, t uint64, f uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfFunction ¶
func IfFunction(condition bool, t function, f function) function
IfFunction return value according condition
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.