MCPcopy Index your code
hub / github.com/expr-lang/expr / Type

Function Type

internal/deref/deref.go:29–37  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

27}
28
29func Type(t reflect.Type) reflect.Type {
30 if t == nil {
31 return nil
32 }
33 for t.Kind() == reflect.Ptr {
34 t = t.Elem()
35 }
36 return t
37}
38
39func Value(v reflect.Value) reflect.Value {
40 for v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface {

Callers 9

AllMethod · 0.92
TestTypeFunction · 0.92
TestType_nilFunction · 0.92
CreateDocFunction · 0.92
useMethod · 0.92
kindFunction · 0.92
validateAggregateFuncFunction · 0.92

Calls 1

ElemMethod · 0.80

Tested by 4

TestTypeFunction · 0.74
TestType_nilFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…