MCPcopy Index your code
hub / github.com/pmxt-dev/pmxt / has

Function has

core/src/BaseExchange.ts:451–456  ·  view source on GitHub ↗

* Capability map derived automatically from method overrides at runtime. * Exchanges do NOT need to declare this manually -- if a subclass overrides * a method (and the override does not throw "not supported"), it is `true`. * To mark a capability as `'emulated'`, add its key to `emul

()

Source from the content-addressed store, hash-verified

449 * To mark a capability as `'emulated'`, add its key to `emulatedCapabilities`.
450 */
451 get has(): ExchangeHas {
452 if (!this._has) {
453 this._has = this._deriveCapabilities();
454 }
455 return this._has;
456 }
457 private _has?: ExchangeHas;
458
459 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected