MCPcopy
hub / github.com/expr-lang/expr / TypeKind

Function TypeKind

internal/deref/deref.go:49–56  ·  view source on GitHub ↗
(t reflect.Type, k reflect.Kind)

Source from the content-addressed store, hash-verified

47}
48
49func TypeKind(t reflect.Type, k reflect.Kind) (_ reflect.Type, _ reflect.Kind, changed bool) {
50 for k == reflect.Pointer {
51 changed = true
52 t = t.Elem()
53 k = t.Kind()
54 }
55 return t, k, changed
56}

Callers 4

structFieldMethod · 0.92
StructFieldsFunction · 0.92
DerefMethod · 0.92
getSlowMethod · 0.92

Calls 1

ElemMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…