MCPcopy Index your code
hub / github.com/anomalyco/opencode / sameContext

Function sameContext

packages/httpapi-codegen/src/index.ts:706–708  ·  view source on GitHub ↗
(left: SchemaAST.Context | undefined, right: SchemaAST.Context | undefined)

Source from the content-addressed store, hash-verified

704}
705
706function sameContext(left: SchemaAST.Context | undefined, right: SchemaAST.Context | undefined) {
707 return left?.isOptional === right?.isOptional && left?.isMutable === right?.isMutable
708}
709
710export function write(
711 output: Output,

Callers 1

sameEncodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected