reflect.Value.Kind (method)
77 uses
reflect (current package)
deepequal.go#L37: switch v1.Kind() {
deepequal.go#L61: switch v.Kind() {
deepequal.go#L87: switch v1.Kind() {
swapper.go#L18: if v.Kind() != Slice {
swapper.go#L19: panic(&ValueError{Method: "Swapper", Kind: v.Kind()})
value.go#L400: if x.Kind() == Invalid {
value.go#L887: if v.Kind() == Ptr && v.typ.Elem().Kind() == Struct {
value.go#L1134: panic(&ValueError{"reflect.Value.IsZero", v.Kind()})
value.go#L1140: func (v Value) Kind() Kind {
value.go#L2343: if v.Kind() != Ptr {
value.go#L2435: if v.Kind() == Interface && v.IsNil() {
encoding/asn1
asn1.go#L889: switch val := v; val.Kind() {
asn1.go#L1013: if canHaveDefaultValue(v.Kind()) {
asn1.go#L1114: if v.Kind() != reflect.Ptr || v.IsNil() {
marshal.go#L479: switch v := value; v.Kind() {
marshal.go#L584: if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {
marshal.go#L588: if v.Kind() == reflect.Slice && v.Len() == 0 && params.omitEmpty {
marshal.go#L592: if params.optional && params.defaultValue != nil && canHaveDefaultValue(v.Kind()) {
encoding/binary
binary.go#L245: switch v.Kind() {
binary.go#L406: switch v.Kind() {
binary.go#L541: switch v.Kind() {
binary.go#L610: switch v.Kind() {
encoding/gob
decode.go#L231: for v.Kind() == reflect.Ptr {
decode.go#L467: if field.Kind() == reflect.Ptr {
decode.go#L957: if value.Kind() != reflect.Ptr && rcvrType.Kind() == reflect.Ptr {
decoder.go#L199: if v.Kind() == reflect.Ptr && !v.IsNil() {
encode.go#L279: switch v.Kind() {
encode.go#L389: if elem.Kind() == reflect.Ptr && elem.IsNil() {
encode.go#L435: switch val.Kind() {
encoder.go#L219: if value.Kind() == reflect.Invalid {
encoder.go#L222: if value.Kind() == reflect.Ptr && value.IsNil() {
encoding/json
decode.go#L172: if rv.Kind() != reflect.Ptr || rv.IsNil() {
decode.go#L440: if v.Kind() != reflect.Ptr && v.Type().Name() != "" && v.CanAddr() {
decode.go#L447: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L449: if e.Kind() == reflect.Ptr && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Ptr) {
decode.go#L456: if v.Kind() != reflect.Ptr {
decode.go#L467: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem() == v {
decode.go#L513: switch v.Kind() {
decode.go#L540: if v.Kind() == reflect.Slice {
decode.go#L582: if v.Kind() == reflect.Array {
decode.go#L592: if i == 0 && v.Kind() == reflect.Slice {
decode.go#L620: if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
decode.go#L632: switch v.Kind() {
decode.go#L686: if v.Kind() == reflect.Map {
decode.go#L714: if subv.Kind() == reflect.Ptr {
decode.go#L772: if v.Kind() == reflect.Map {
decode.go#L898: switch v.Kind() {
decode.go#L911: switch v.Kind() {
decode.go#L936: switch v.Kind() {
decode.go#L972: switch v.Kind() {
decode.go#L974: if v.Kind() == reflect.String && v.Type() == numberType {
encode.go#L342: switch v.Kind() {
encode.go#L470: if v.Kind() == reflect.Ptr && v.IsNil() {
encode.go#L507: if v.Kind() == reflect.Ptr && v.IsNil() {
encode.go#L741: if fv.Kind() == reflect.Ptr {
encode.go#L1005: if w.v.Kind() == reflect.String {
encode.go#L1010: if w.v.Kind() == reflect.Ptr && w.v.IsNil() {
encode.go#L1017: switch w.v.Kind() {
fmt
print.go#L292: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L500: switch value.Kind() {
print.go#L541: if v := reflect.ValueOf(arg); v.Kind() == reflect.Ptr && v.IsNil() {
print.go#L730: switch f := value; value.Kind() {
print.go#L828: if f.Kind() == reflect.Slice {
print.go#L847: if f.Kind() == reflect.Slice && f.IsNil() {
print.go#L873: switch a := f.Elem(); a.Kind() {
print.go#L895: switch v := reflect.ValueOf(a[argNum]); v.Kind() {
scan.go#L1020: if ptr.Kind() != reflect.Ptr {
scan.go#L1024: switch v := ptr.Elem(); v.Kind() {
internal/fmtsort
sort.go#L84: switch aVal.Kind() {
net/http
h2_bundle.go#L4226: if rv := reflect.ValueOf(v); rv.Kind() == reflect.Uintptr {
src.elv.sh/pkg/eval
options.go#L23: if ptrValue.Kind() != reflect.Ptr || ptrValue.Elem().Kind() != reflect.Struct {
src.elv.sh/pkg/persistent/hashmap
hashmap.go#L152: if kref.Kind() == reflect.String {
hashmap.go#L162: switch kref.Kind() {
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L263: switch reflect.ValueOf(out).Elem().Kind() {
asn1.go#L615: switch reflect.ValueOf(out).Elem().Kind() {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)