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

Function kind

builtin/utils.go:21–27  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

19)
20
21func kind(t reflect.Type) reflect.Kind {
22 if t == nil {
23 return reflect.Invalid
24 }
25 t = deref.Type(t)
26 return t.Kind()
27}
28
29func types(types ...any) []reflect.Type {
30 ts := make([]reflect.Type, len(types))

Callers 3

builtin.goFile · 0.70
validateAggregateFuncFunction · 0.70
validateRoundFuncFunction · 0.70

Calls 1

TypeFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…