MCPcopy Create free account
hub / github.com/codemix/graph / clone

Method clone

packages/graph/src/Steps.ts:7255–7262  ·  view source on GitHub ↗
(partial?: Partial<UnwindStepConfig>)

Source from the content-addressed store, hash-verified

7253 }
7254
7255 public clone(partial?: Partial<UnwindStepConfig>): UnwindStep {
7256 return new UnwindStep({
7257 expression: partial?.expression ?? this.config.expression,
7258 alias: partial?.alias ?? this.config.alias,
7259 stepLabels:
7260 partial?.stepLabels ?? (this.config.stepLabels ? [...this.config.stepLabels] : undefined),
7261 });
7262 }
7263
7264 public override toStringTokens(): StepStringToken[] {
7265 const tokens: StepStringToken[] = [{ kind: "start" }, { kind: "name", value: this.name }];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected