MCPcopy Create free account
hub / github.com/kataras/iris / isContext

Function isContext

context/context_func.go:179–181  ·  view source on GitHub ↗

isContext returns true if the "typ" is a type of Context.

(typ reflect.Type)

Source from the content-addressed store, hash-verified

177
178// isContext returns true if the "typ" is a type of Context.
179func isContext(typ reflect.Type) bool {
180 return typ == contextType
181}
182
183var errTyp = reflect.TypeOf((*error)(nil)).Elem()
184

Callers 1

buildMetaMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…