MCPcopy Create free account
hub / github.com/cli/cli / isA

Method isA

script/ghmock/graphqlcheck.go:294–296  ·  view source on GitHub ↗
(concrete *ast.Definition, name string)

Source from the content-addressed store, hash-verified

292}
293
294func (w *gqlWalker) isA(concrete *ast.Definition, name string) bool {
295 return isA(w.schema, concrete, name)
296}
297
298// isA reports whether an object of type concrete is also of type name, which
299// can be the same type, an interface it implements or a union it belongs to.

Callers 2

collectFragmentMethod · 0.95
checkObjectMethod · 0.95

Calls 1

isAFunction · 0.85

Tested by

no test coverage detected