reflect.Type.Kind (method)

102 uses

	reflect (current package)
		makefunc.go#L49: 	if typ.Kind() != Func {
		type.go#L100: 	Kind() Kind
		type.go#L1222: 			if ft.Kind() == Ptr && ft.Elem().Kind() == Struct {
		type.go#L1437: 	if u.Kind() != Interface {
		type.go#L1590: 	if T.Name() != V.Name() || T.Kind() != V.Kind() {
		type.go#L1944: 	if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
		type.go#L2418: 				if k := elem.Kind(); k == Ptr || k == Interface {
		value.go#L290: 	if v.typ.Elem().Kind() != Uint8 {
		value.go#L301: 	if v.typ.Elem().Kind() != Int32 {
		value.go#L501: 				fl := flagIndir | flag(tv.Kind())
		value.go#L887: 			if v.Kind() == Ptr && v.typ.Elem().Kind() == Struct {
		value.go#L1589: 	if v.typ.Elem().Kind() != Uint8 {
		value.go#L1600: 	if v.typ.Elem().Kind() != Int32 {
		value.go#L2087: 		stringCopy = sk == String && dst.typ.Elem().Kind() == Uint8
		value.go#L2290: 	if typ.Kind() != Slice {
		value.go#L2309: 	if typ.Kind() != Chan {
		value.go#L2331: 	if typ.Kind() != Map {
		value.go#L2510: 			switch dst.Elem().Kind() {
		value.go#L2520: 			switch src.Elem().Kind() {
		value.go#L2668: 	if v.Type().Kind() == Float32 && t.Kind() == Float32 {

	encoding/asn1
		asn1.go#L688: 	if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
		asn1.go#L946: 		if sliceType.Elem().Kind() == reflect.Uint8 {
		asn1.go#L1104: 	if e.Type.Kind() != reflect.Ptr {
		common.go#L173: 	switch t.Kind() {
		common.go#L181: 		if t.Elem().Kind() == reflect.Uint8 {
		marshal.go#L537: 		if sliceType.Elem().Kind() == reflect.Uint8 {

	encoding/binary
		binary.go#L429: 	switch t.Kind() {
		binary.go#L639: 		switch v.Type().Kind() {
		binary.go#L651: 		switch v.Type().Kind() {
		binary.go#L663: 		switch v.Type().Kind() {
		binary.go#L671: 		switch v.Type().Kind() {

	encoding/gob
		decode.go#L521: 	isPtr := value.Type().Elem().Kind() == reflect.Ptr
		decode.go#L564: 	keyIsPtr := mtyp.Key().Kind() == reflect.Ptr
		decode.go#L565: 	elemIsPtr := mtyp.Elem().Kind() == reflect.Ptr
		decode.go#L804: 	k := typ.Kind()
		decode.go#L811: 		switch t := typ; t.Kind() {
		decode.go#L817: 			helper := decArrayHelper[t.Elem().Kind()]
		decode.go#L834: 			if t.Elem().Kind() == reflect.Uint8 {
		decode.go#L846: 			helper := decSliceHelper[t.Elem().Kind()]
		decode.go#L957: 		if value.Kind() != reflect.Ptr && rcvrType.Kind() == reflect.Ptr {
		decode.go#L990: 	switch t := ut.base; t.Kind() {
		decode.go#L1022: 		if t.Elem().Kind() == reflect.Uint8 {
		decode.go#L1060: 		if ut.base.Kind() == reflect.Interface && remoteId != tInterface {
		decode.go#L1089: 	if srt.Kind() != reflect.Struct || ut.externalDec != 0 {
		decode.go#L1198: 	if st := base; st.Kind() == reflect.Struct && ut.externalDec == 0 {
		decoder.go#L184: 	if value.Type().Kind() != reflect.Ptr {
		encode.go#L529: 	k := typ.Kind()
		encode.go#L537: 		switch t := typ; t.Kind() {
		encode.go#L539: 			if t.Elem().Kind() == reflect.Uint8 {
		encode.go#L545: 			helper := encSliceHelper[t.Elem().Kind()]
		encode.go#L556: 			helper := encArrayHelper[t.Elem().Kind()]
		encode.go#L636: 	if ut.externalEnc == 0 && srt.Kind() == reflect.Struct {
		encode.go#L700: 	if ut.externalEnc == 0 && value.Type().Kind() == reflect.Struct {
		encoder.go#L118: 	switch st := actual; st.Kind() {
		encoder.go#L144: 	switch rt := ut.base; rt.Kind() {
		encoder.go#L150: 		if rt.Elem().Kind() == reflect.Uint8 {
		type.go#L64: 		if pt.Kind() != reflect.Ptr {
		type.go#L129: 		if p := rt; p.Kind() == reflect.Ptr {
		type.go#L140: 	if typ.Kind() != reflect.Ptr {
		type.go#L452: 	switch t := rt; t.Kind() {
		type.go#L509: 		if t.Elem().Kind() == reflect.Uint8 {
		type.go#L572: 	for typ.Kind() == reflect.Ptr {
		type.go#L575: 	if typ.Kind() == reflect.Chan || typ.Kind() == reflect.Func {
		type.go#L738: 		switch typ := rt; typ.Kind() {
		type.go#L745: 			if typ.Elem().Kind() != reflect.Uint8 {
		type.go#L845: 		if pt := rt; pt.Kind() == reflect.Ptr {

	encoding/json
		decode.go#L164: 	if e.Type.Kind() != reflect.Ptr {
		decode.go#L636: 		switch t.Key().Kind() {
		decode.go#L782: 			case kt.Kind() == reflect.String:
		decode.go#L785: 				switch kt.Kind() {
		decode.go#L940: 			if v.Type().Elem().Kind() != reflect.Uint8 {
		encode.go#L422: 	if t.Kind() != reflect.Ptr && allowAddr && reflect.PtrTo(t).Implements(marshalerType) {
		encode.go#L428: 	if t.Kind() != reflect.Ptr && allowAddr && reflect.PtrTo(t).Implements(textMarshalerType) {
		encode.go#L435: 	switch t.Kind() {
		encode.go#L820: 	switch t.Key().Kind() {
		encode.go#L894: 	if t.Elem().Kind() == reflect.Uint8 {
		encode.go#L991: 		if t.Kind() == reflect.Ptr {
		encode.go#L1245: 					if t.Kind() == reflect.Ptr {
		encode.go#L1248: 					if isUnexported && t.Kind() != reflect.Struct {
		encode.go#L1271: 				if ft.Name() == "" && ft.Kind() == reflect.Ptr {
		encode.go#L1279: 					switch ft.Kind() {
		encode.go#L1290: 				if name != "" || !sf.Anonymous || ft.Kind() != reflect.Struct {

	flag
		flag.go#L459: 	if typ.Kind() == reflect.Ptr {

	fmt
		print.go#L826: 			if t.Elem().Kind() == reflect.Uint8 {
		print.go#L1152: 		isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
		scan.go#L1036: 			if typ.Elem().Kind() != reflect.Uint8 {

	internal/fmtsort
		sort.go#L53: 	if mapValue.Type().Kind() != reflect.Map {

	net/http
		transport.go#L372: 	if rv := reflect.ValueOf(altProto["https"]); rv.IsValid() && rv.Type().Kind() == reflect.Struct && rv.Type().NumField() == 1 {

	net/http/httptrace
		trace.go#L185: 		if hookType.Kind() != reflect.Func {

	src.elv.sh/pkg/eval/vals
		conversion.go#L92: 		if ptrType.Kind() != reflect.Ptr {

	src.elv.sh/pkg/parse
		pprint.go#L45: 		if ft.Kind() == reflect.Slice {

	src.elv.sh/pkg/rpc
		server.go#L202: 	for t.Kind() == reflect.Ptr {
		server.go#L302: 		if replyType.Kind() != reflect.Ptr {
		server.go#L551: 	if mtype.ArgType.Kind() == reflect.Ptr {
		server.go#L567: 	switch mtype.ReplyType.Elem().Kind() {

	vendor/golang.org/x/crypto/cryptobyte
		asn1.go#L260: 	if reflect.TypeOf(out).Kind() != reflect.Ptr {
		asn1.go#L606: 	if reflect.TypeOf(out).Kind() != reflect.Ptr {
		asn1.go#L623: 			if reflect.TypeOf(defaultValue).Kind() != reflect.Ptr ||