github.com/Aoi-hosizora/ahlib@v1.5.1-0.20230404072829-241b93cf91c7/xreflect/README.md (about) 1 # xreflect 2 3 ## Dependencies 4 5 + None 6 7 ## Documents 8 9 ### Types 10 11 + None 12 13 ### Variables 14 15 + None 16 17 ### Constants 18 19 + None 20 21 ### Functions 22 23 + `func IsIntKind(kind reflect.Kind) bool` 24 + `func IsUintKind(kind reflect.Kind) bool` 25 + `func IsFloatKind(kind reflect.Kind) bool` 26 + `func IsComplexKind(kind reflect.Kind) bool` 27 + `func IsNumericKind(kind reflect.Kind) bool` 28 + `func IsCollectionKind(kind reflect.Kind) bool` 29 + `func IsNillableKind(kind reflect.Kind) bool` 30 + `func IsSlicableKind(kind reflect.Kind) bool` 31 + `func IsPointerableKind(kind reflect.Kind) bool` 32 + `func IsNilValue(v interface{}) bool` 33 + `func IsZeroValue(v interface{}) bool` 34 + `func IsEmptyCollection(v interface{}) bool` 35 + `func IsEmptyValue(v interface{}) bool` 36 + `func Float64Value(v interface{}) (float64, bool)` 37 + `func Uint64Value(v interface{}) (uint64, bool)` 38 + `func GetUnexportedField(field reflect.Value) reflect.Value` 39 + `func SetUnexportedField(field reflect.Value, value reflect.Value)` 40 + `func FieldValueOf(v interface{}, name string) reflect.Value` 41 + `func HasZeroEface(v interface{}) bool` 42 + `func DeepEqualInValue(v1, v2 interface{}) bool` 43 + `func SameUnderlyingPointer(p1, p2 interface{}) bool` 44 + `func SameUnderlyingPointerWithType(p1, p2 interface{}) bool` 45 + `func SameUnderlyingPointerWithTypeAndKind(p1, p2 interface{}, kind reflect.Kind) bool` 46 + `func GetMapB(m interface{}) (b uint8)` 47 + `func GetMapBuckets(m interface{}) (b uint8, buckets uint64)` 48 49 ### Methods 50 51 + None