Documentation ¶
Overview ¶
Package ztype provides Variable Type Related Operations
Index ¶
- func GetType(s interface{}) string
- func IsBool(v interface{}) bool
- func IsByte(v interface{}) bool
- func IsFloat32(v interface{}) bool
- func IsFloat64(v interface{}) bool
- func IsInt(v interface{}) bool
- func IsInt16(v interface{}) bool
- func IsInt32(v interface{}) bool
- func IsInt64(v interface{}) bool
- func IsInt8(v interface{}) bool
- func IsInterface(v interface{}) bool
- func IsString(v interface{}) bool
- func IsStruct(v interface{}) bool
- func IsUint(v interface{}) bool
- func IsUint16(v interface{}) bool
- func IsUint32(v interface{}) bool
- func IsUint64(v interface{}) bool
- func IsUint8(v interface{}) bool
- func MapKeyExists(key interface{}, m map[interface{}]interface{}) bool
- func ToBool(i interface{}) bool
- func ToByte(i interface{}) []byte
- func ToFloat32(i interface{}) float32
- func ToFloat64(i interface{}) float64
- func ToInt(i interface{}) int
- func ToInt16(i interface{}) int16
- func ToInt32(i interface{}) int32
- func ToInt64(i interface{}) int64
- func ToInt8(i interface{}) int8
- func ToString(i interface{}) string
- func ToUint(i interface{}) uint
- func ToUint16(i interface{}) uint16
- func ToUint32(i interface{}) uint32
- func ToUint64(i interface{}) uint64
- func ToUint8(i interface{}) uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapKeyExists ¶
func MapKeyExists(key interface{}, m map[interface{}]interface{}) bool
MapKeyExists Whether the dictionary key exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.