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

Method clone

packages/graph/src/Steps.ts:823–831  ·  view source on GitHub ↗
(partial?: Partial<CartesianFetchStepConfig>)

Source from the content-addressed store, hash-verified

821 }
822
823 public override clone(partial?: Partial<CartesianFetchStepConfig>) {
824 const { config } = this;
825 return new CartesianFetchStep({
826 vertexLabels:
827 partial?.vertexLabels ?? (config.vertexLabels ? [...config.vertexLabels] : undefined),
828 condition: partial?.condition ?? config.condition,
829 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
830 });
831 }
832}
833
834export type UnaryOperator = "exists" | "isNull" | "isNotNull";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected