MCPcopy Create free account
hub / github.com/astercloud/aster / hasSurface

Method hasSurface

ui/src/protocol/message-processor.ts:548–550  ·  view source on GitHub ↗

* Check if a surface exists

(surfaceId: string)

Source from the content-addressed store, hash-verified

546 * Check if a surface exists
547 */
548 hasSurface(surfaceId: string): boolean {
549 return this.surfaces.has(surfaceId);
550 }
551
552 /**
553 * Rebuild component tree from adjacency list model

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected