MCPcopy Create free account
hub / github.com/Effect-TS/effect / has

Method has

packages/effect/src/chat/ChatTest.ts:1497–1499  ·  view source on GitHub ↗
(capability: Capability)

Source from the content-addressed store, hash-verified

1495 }
1496
1497 has(capability: Capability) {
1498 return this.descriptor.capabilities.has(capability)
1499 }
1500
1501 call<A>(effect: Effect.Effect<A, ChatError>): Effect.Effect<A, ConformanceFailure> {
1502 return Effect.mapError(effect, (error) => {

Callers 6

openModalMethod · 0.95
callMethod · 0.95
probeMethod · 0.95
cleanupMethod · 0.95
ruleFunction · 0.95
conformanceFunction · 0.95

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected