MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / display

Function display

src/common/terminal.ts:69–75  ·  view source on GitHub ↗
(s: StyledSpan[] | StyledBlock)

Source from the content-addressed store, hash-verified

67 }
68
69 display(s: StyledSpan[] | StyledBlock): void {
70 if (Array.isArray(s)) {
71 console['info'](this.renderSpans(s));
72 } else {
73 console['info'](this.renderBlock(s));
74 }
75 }
76}
77
78/**

Callers

nothing calls this directly

Calls 2

renderSpansMethod · 0.80
renderBlockMethod · 0.80

Tested by

no test coverage detected