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

Function makeTree

packages/effect/src/ParseResult.ts:1744–1747  ·  view source on GitHub ↗
(value: A, forest: Forest<A> = [])

Source from the content-addressed store, hash-verified

1742}
1743
1744const makeTree = <A>(value: A, forest: Forest<A> = []): Tree<A> => ({
1745 value,
1746 forest
1747})
1748
1749/**
1750 * @category formatting

Callers 1

formatTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected