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

Function build

packages/effect/src/ui/View.ts:619–622  ·  view source on GitHub ↗
(
  builder: ElementBuilder<Msg, R, any, any>,
  inputs: C
)

Source from the content-addressed store, hash-verified

617 * @since 4.2.0
618 */
619export const build = <Msg, R, const C extends ReadonlyArray<Input<Msg, any>>>(
620 builder: ElementBuilder<Msg, R, any, any>,
621 inputs: C
622): Element<Msg, R | Requirements<C[number]>> => buildWith(builder, inputs.length === 0 ? noChildren : children(inputs))
623
624const buildWith = <Msg, R>(
625 builder: ElementBuilder<Msg, any, any, any>,

Callers 2

makeFunction · 0.70
groupFunction · 0.50

Calls 2

buildWithFunction · 0.85
childrenFunction · 0.70

Tested by

no test coverage detected