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

Function isMap

script/ghmock/restscaffold.go:431–434  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

429}
430
431func isMap(v any) bool {
432 _, ok := v.(map[string]any)
433 return ok
434}
435
436// matchesSchema reports whether a value passes the same check as responses.
437func matchesSchema(ref *openapi3.SchemaRef, v any) bool {

Callers 1

typeMatchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected