MCPcopy Create free account
hub / github.com/encoder-run/operator / unmarshalNBoolean2bool

Method unmarshalNBoolean2bool

pkg/graph/generated.go:8559–8562  ·  view source on GitHub ↗
(ctx context.Context, v interface{})

Source from the content-addressed store, hash-verified

8557}
8558
8559func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
8560 res, err := graphql.UnmarshalBoolean(v)
8561 return res, graphql.ErrorOnPath(ctx, err)
8562}
8563
8564func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
8565 res := graphql.MarshalBoolean(v)

Calls

no outgoing calls

Tested by

no test coverage detected