Documentation ¶
Index ¶
- func Bool(value any) bool
- func Byte(value any) byte
- func Compare(value1 any, value2 any) int8
- func Float32(value any) float32
- func Float64(value any) float64
- func Int(value any) int
- func Int16(value any) int16
- func Int32(value any) int32
- func Int64(value any) int64
- func Int8(value any) int8
- func IsFloat(value any) bool
- func IsInteger(value any) bool
- func IsMap(value any) bool
- func IsNil(value any) bool
- func IsNumber(value any) bool
- func IsNumberKind(kind reflect.Kind) (unsigned bool, isFloat bool, ok bool)
- func IsSlice(value any) bool
- func Slice(fromSlice any, toSliceType reflect.Type) (any, error)
- func String(value any) string
- func Uint(value any) uint
- func Uint16(value any) uint16
- func Uint32(value any) uint32
- func Uint64(value any) uint64
- func Uint8(value any) uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNumberKind ¶
IsNumberKind 判断是否为数字类型
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.