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

Function evolve

packages/effect/src/ui/Component.ts:1139–1143  ·  view source on GitHub ↗
(this: Step<any, any, any, any>, fields: Record<PropertyKey, unknown>)

Source from the content-addressed store, hash-verified

1137 return stepWith(this, { model })
1138 },
1139 evolve(this: Step<any, any, any, any>, fields: Record<PropertyKey, unknown>) {
1140 return stepWith(this, {
1141 model: UiStruct.evolve<any>(this.model, fields as never)
1142 })
1143 },
1144 run(
1145 this: Step<any, any, any, any>,
1146 ...commands: ReadonlyArray<Command.Command<any, any>>

Callers

nothing calls this directly

Calls 2

stepWithFunction · 0.85
evolveMethod · 0.65

Tested by

no test coverage detected