Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ Type
Method
Type
builtin/function.go:18–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(f *Function) Type() reflect.Type {
19
if
len(f.Types) > 0 {
20
return
f.Types[0]
21
}
22
return
reflect.TypeOf(f.Func)
23
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected