Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stretchr/testify
/ isFunction
Function
isFunction
assert/assertions.go:1898–1903 ·
view source on GitHub ↗
(arg interface{})
Source
from the content-addressed store, hash-verified
1896
}
1897
1898
func
isFunction(arg
interface
{}) bool {
1899
if
arg == nil {
1900
return
false
1901
}
1902
return
reflect.TypeOf(arg).Kind() == reflect.Func
1903
}
1904
1905
var
spewConfig = spew.ConfigState{
1906
Indent:
" "
,
Callers
1
validateEqualArgs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected