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

Method isInstance

packages/opencode/src/provider/provider.ts:1099–1101  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1097 }
1098
1099 static isInstance(input: unknown): input is InitError {
1100 return input instanceof InitError
1101 }
1102}
1103
1104export class NoProvidersError extends Schema.TaggedErrorClass<NoProvidersError>()("ProviderNoProvidersError", {}) {

Callers 6

openai-ws.test.tsFile · 0.45
retry.test.tsFile · 0.45
message-v2.test.tsFile · 0.45
prompt.test.tsFile · 0.45
provider.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected