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

Function root

packages/effect/src/ui/View.ts:1944–1944  ·  view source on GitHub ↗
(...inputs: ReadonlyArray<Input<any, any>>)

Source from the content-addressed store, hash-verified

1942 builder: B
1943): Shorthand<B> => {
1944 const root = (...inputs: ReadonlyArray<Input<any, any>>) => (root as any).children(...inputs)
1945 Object.setPrototypeOf(root, Object.getPrototypeOf(builder))
1946 return Object.assign(root, builder) as any
1947}

Callers 4

deliverFunction · 0.70
Html.tst.tsFile · 0.50
BigInt.test.tsFile · 0.50
Rational.test.tsFile · 0.50

Calls 1

childrenMethod · 0.45

Tested by

no test coverage detected