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

Function text

packages/ui/devtools/test/DevTools.test.ts:15–15  ·  view source on GitHub ↗
(node: Element | null | undefined)

Source from the content-addressed store, hash-verified

13const token = "tok_live_9f2c"
14
15const text = (node: Element | null | undefined) => (node?.textContent ?? "").replace(/\s+/g, " ").trim()
16
17const overlay = () =>
18 document.querySelector<HTMLIFrameElement>("iframe[data-effect-ui-devtools]")!

Callers 7

statusFunction · 0.70
stepsFunction · 0.70
headlineFunction · 0.70
subtitleFunction · 0.70
DevTools.test.tsFile · 0.70
lifecycleFunction · 0.70
rowsFunction · 0.70

Calls 2

trimMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected