MCPcopy
hub / github.com/stretchr/testify / isFunction

Function isFunction

assert/assertions.go:1956–1961  ·  view source on GitHub ↗
(arg interface{})

Source from the content-addressed store, hash-verified

1954}
1955
1956func isFunction(arg interface{}) bool {
1957 if arg == nil {
1958 return false
1959 }
1960 return reflect.TypeOf(arg).Kind() == reflect.Func
1961}
1962
1963var spewConfig = spew.ConfigState{
1964 Indent: " ",

Callers 1

validateEqualArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…