MCPcopy
hub / github.com/Effect-TS/effect / makeTree

Function makeTree

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

Source from the content-addressed store, hash-verified

1724}
1725
1726const makeTree = <A>(value: A, forest: Forest<A> = []): Tree<A> => ({
1727 value,
1728 forest
1729})
1730
1731/**
1732 * @category formatting

Callers 1

formatTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected